diff options
author | Eric Biggers <ebiggers@google.com> | 2020-02-25 20:59:20 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 12:28:23 +1100 |
commit | 2888df8b18fe7a73dc5902fbeabb61d0115447ea (patch) | |
tree | 64dc6efbd40f222bffc271914dbccce8836c55e6 /crypto/cast_common.c | |
parent | 4c4be75b5a4b400ad1184316f143d4519c5921d9 (diff) | |
download | linux-crypto-2888df8b18fe7a73dc5902fbeabb61d0115447ea.tar.gz linux-crypto-2888df8b18fe7a73dc5902fbeabb61d0115447ea.zip |
crypto: geniv - simply error handling in aead_geniv_alloc()
Simplify the error handling in aead_geniv_alloc() by taking advantage of
crypto_grab_aead() now handling an ERR_PTR() name and by taking
advantage of crypto_drop_aead() 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/cast_common.c')
0 files changed, 0 insertions, 0 deletions