summaryrefslogtreecommitdiff
path: root/crypto/hctr2.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-05-19 11:28:35 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-05-24 13:12:33 +0300
commit51d8d6d0f4bedb6a4e9afb20857bb592424de144 (patch)
treeb419114f9f46758e6c27b9d39cfa68ab2550fe0c /crypto/hctr2.c
parentcf2eddc931ab6e4dd96d38bd75ef8aac3422a8f4 (diff)
downloadlinux-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/hctr2.c')
0 files changed, 0 insertions, 0 deletions