aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2024-09-18 04:01:47 +0000
committerHerbert Xu <[email protected]>2024-09-21 09:14:59 +0000
commit4330869a2dd9e3abfde820fb5d93888e7d98ffa1 (patch)
tree647e89266be973f3fde5b9297c7f74715f2618af /lib/crypto/mpi/mpi-mul.c
parentcrypto: caam - Pad SG length when allocating hash edesc (diff)
downloadkernel-4330869a2dd9e3abfde820fb5d93888e7d98ffa1.tar.gz
kernel-4330869a2dd9e3abfde820fb5d93888e7d98ffa1.zip
crypto: s390/paes - Fix module aliases
The paes_s390 module didn't declare the correct aliases for the algorithms that it registered. Instead it declared an alias for the non-existent paes algorithm. The Crypto API will eventually try to load the paes algorithm, to construct the cbc(paes) instance. But because the module does not actually contain a "paes" algorithm, this will fail. Previously this failure was hidden and the the cbc(paes) lookup will be retried. This was fixed recently, thus exposing the buggy alias in paes_s390. Replace the bogus paes alias with aliases for the actual algorithms. Reported-by: Ingo Franzki <[email protected]> Fixes: e7a4142b35ce ("crypto: api - Fix generic algorithm self-test races") Signed-off-by: Herbert Xu <[email protected]> Tested-by: Ingo Franzki <[email protected]> Reviewed-by: Ingo Franzki <[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