diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-20 06:29:40 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-27 11:18:04 +0100 |
commit | b3c16bfc6a79ae517ec3c44be615aed0ffa52c53 (patch) | |
tree | 1a0405808ed63f31289bee2ba5927cda3496e908 /include/crypto/cbc.h | |
parent | crypto: chtls - Fixed memory leak (diff) | |
download | linux-b3c16bfc6a79ae517ec3c44be615aed0ffa52c53.tar.xz linux-b3c16bfc6a79ae517ec3c44be615aed0ffa52c53.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 'include/crypto/cbc.h')
0 files changed, 0 insertions, 0 deletions