Herbert Xu 51d8d6d0f4 crypto: cipher - Add crypto_clone_cipher
Allow simple ciphers to be cloned, if they don't have a cra_init
function.  This basically rules out those ciphers that require a
fallback.

In future simple ciphers will be eliminated, and replaced with a
linear skcipher interface.  When that happens this restriction will
disappear.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-05-24 18:12:33 +08:00
..
2022-12-02 18:12:40 +08:00
2021-03-26 19:55:55 +11:00
2019-08-05 18:40:19 -04:00
2023-04-24 16:15:53 +03:00
2022-04-08 16:12:46 +08:00
2023-01-06 17:15:47 +08:00