mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-16 05:47:55 +00:00
This patch adds the helpers crypto_clone_ahash and crypto_clone_shash. They are the hash-specific counterparts of crypto_clone_tfm. This allows code paths that cannot otherwise allocate a hash tfm object to do so. Once a new tfm has been obtained its key could then be changed without impacting other users. Note that only algorithms that implement clone_tfm can be cloned. However, all keyless hashes can be cloned by simply reusing the tfm object. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> |
||
|---|---|---|
| .. | ||
| acompress.h | ||
| aead.h | ||
| akcipher.h | ||
| blake2b.h | ||
| blake2s.h | ||
| chacha.h | ||
| cipher.h | ||
| cryptouser.h | ||
| des.h | ||
| ecc.h | ||
| geniv.h | ||
| hash.h | ||
| kdf_selftest.h | ||
| kpp.h | ||
| poly1305.h | ||
| rng.h | ||
| rsa.h | ||
| scompress.h | ||
| simd.h | ||
| skcipher.h | ||