diff options
author | Lukas Wunner <lukas@wunner.de> | 2024-09-10 16:30:20 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-10-05 13:22:04 +0800 |
commit | a16a17d3eaa4866c65366150fca48537de3a924c (patch) | |
tree | 1530597b5c562d4f695b59a1a8c0a4f7fd0a9f16 /lib/crypto/mpi/mpi-mul.c | |
parent | 5b553e06b3215fa97d222ebddc2bc964f1824c5b (diff) |
crypto: drivers - Drop sign/verify operations
The drivers aspeed-acry.c, hpre_crypto.c and jh7110-rsa.c purport to
implement sign/verify operations for raw (unpadded) "rsa".
But there is no such thing as message digests generally need to be
padded according to a predefined scheme (such as PSS or PKCS#1) to
match the size of the usually much larger RSA keys.
The bogus sign/verify operations defined by these drivers are never
called but block removal of sign/verify from akcipher_alg. Drop them.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions