Home
last modified time | relevance | path

Searched hist:"51 d8d6d0" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/crypto/internal/
H A Dcipher.h51d8d6d0 Fri May 19 03:28:35 CDT 2023 Herbert Xu <herbert@gondor.apana.org.au> 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>
/openbmc/linux/crypto/
H A Dcipher.c51d8d6d0 Fri May 19 03:28:35 CDT 2023 Herbert Xu <herbert@gondor.apana.org.au> 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>