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
..
2023-04-25 18:44:10 -07:00
2023-05-05 12:56:55 -07:00
2023-05-01 12:06:20 -07:00
2023-05-05 19:12:01 -07:00
2023-04-16 11:08:07 +03:00
2023-04-27 11:53:57 -07:00
2023-04-24 15:15:31 +02:00
2023-04-29 11:04:14 -07:00
2023-05-06 08:28:58 -07:00
2023-04-26 15:39:25 -07:00