mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-04 04:04:19 +00:00
6b34562f0c
A sig_alg backend has just been introduced and all asymmetric sign/verify algorithms have been migrated to it. The sign/verify operations can thus be dropped from akcipher_alg. It is now purely for asymmetric encrypt/decrypt. Move struct crypto_akcipher_sync_data from internal.h to akcipher.c and unexport crypto_akcipher_sync_{prep,post}(): They're no longer used by sig.c but only locally in akcipher.c. In crypto_akcipher_sync_{prep,post}(), drop various NULL pointer checks for data->dst as they were only necessary for the verify operation. In the crypto_sig_*() API calls, remove the forks that were necessary while algorithms were converted from crypto_akcipher to crypto_sig one by one. In struct akcipher_testvec, remove the "params", "param_len" and "algo" elements as they were only needed for the ecrdsa verify operation. Remove corresponding dead code from test_akcipher_one() as well. Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> |
||
---|---|---|
.. | ||
device_drivers | ||
api-aead.rst | ||
api-akcipher.rst | ||
api-digest.rst | ||
api-intro.rst | ||
api-kpp.rst | ||
api-rng.rst | ||
api-samples.rst | ||
api-sig.rst | ||
api-skcipher.rst | ||
api.rst | ||
architecture.rst | ||
asymmetric-keys.rst | ||
async-tx-api.rst | ||
crypto_engine.rst | ||
descore-readme.rst | ||
devel-algos.rst | ||
index.rst | ||
intro.rst | ||
userspace-if.rst |