diff options
author | Eric Biggers <ebiggers@google.com> | 2020-02-26 05:59:21 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 02:28:23 +0100 |
commit | d57063103332b95eac9c118900f35700a491da08 (patch) | |
tree | d338266f5455ce046884929b4c7f72ead55ac35e /crypto/blake2s_generic.c | |
parent | crypto: geniv - simply error handling in aead_geniv_alloc() (diff) | |
download | linux-d57063103332b95eac9c118900f35700a491da08.tar.xz linux-d57063103332b95eac9c118900f35700a491da08.zip |
crypto: lrw - simplify error handling in create()
Simplify the error handling in the LRW template's ->create() function by
taking advantage of crypto_drop_skcipher() now accepting (as a no-op) a
spawn that hasn't been grabbed yet.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/blake2s_generic.c')
0 files changed, 0 insertions, 0 deletions