aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2024-09-10 09:30:24 +0000
committerHerbert Xu <[email protected]>2024-09-13 10:26:53 +0000
commitce212d2afca47acd366a2e74c76fe82c31f785ab (patch)
tree911dfe5f1e299e9ba94d537ea8918d000e901a63 /lib/crypto/mpi/mpi-mul.c
parentcrypto: camm/qi - Use ERR_CAST() to return error-valued pointer (diff)
downloadkernel-ce212d2afca47acd366a2e74c76fe82c31f785ab.tar.gz
kernel-ce212d2afca47acd366a2e74c76fe82c31f785ab.zip
crypto: n2 - Set err to EINVAL if snprintf fails for hmac
Return EINVAL if the snprintf check fails when constructing the algorithm names. Fixes: 8c20982caca4 ("crypto: n2 - Silence gcc format-truncation false positive warnings") Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions