diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-05-19 11:28:35 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-05-24 13:12:33 +0300 |
commit | 51d8d6d0f4bedb6a4e9afb20857bb592424de144 (patch) | |
tree | b419114f9f46758e6c27b9d39cfa68ab2550fe0c /crypto/authencesn.c | |
parent | cf2eddc931ab6e4dd96d38bd75ef8aac3422a8f4 (diff) | |
download | linux-51d8d6d0f4bedb6a4e9afb20857bb592424de144.tar.xz |
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>
Diffstat (limited to 'crypto/authencesn.c')
0 files changed, 0 insertions, 0 deletions