summaryrefslogtreecommitdiff
path: root/crypto/camellia_generic.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2019-12-20 13:29:40 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-12-27 18:18:04 +0800
commite4f1d787e0ab800c1d0ad6c45e5df2ec3ad98fe1 (patch)
treea8aa2018c38333eb8226b7068dac85cc1ec2ec24 /crypto/camellia_generic.c
parentbb4e37e1168a2bd0366de72f4cdfaf8846a72484 (diff)
downloadlinux-crypto-e4f1d787e0ab800c1d0ad6c45e5df2ec3ad98fe1.tar.gz
linux-crypto-e4f1d787e0ab800c1d0ad6c45e5df2ec3ad98fe1.zip
crypto: skcipher - Add skcipher_ialg_simple helper
This patch introduces the skcipher_ialg_simple helper which fetches the crypto_alg structure from a simple skcipher instance's spawn. This allows us to remove the third argument from the function skcipher_alloc_instance_simple. In doing so the reference count to the algorithm is now maintained by the Crypto API and the caller no longer needs to drop the alg refcount. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/camellia_generic.c')
0 files changed, 0 insertions, 0 deletions