summaryrefslogtreecommitdiff
path: root/crypto/ctr.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-02-25 20:59:14 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-03-06 12:28:22 +1100
commit5b69a9aaf716f6fe20a23bc19687a196e7bc634a (patch)
treeb3a7ec3befb0b34ff187577719bf3c001d2add62 /crypto/ctr.c
parentd7e7a13938300a066feff29e96c41045c74992e6 (diff)
downloadlinux-crypto-5b69a9aaf716f6fe20a23bc19687a196e7bc634a.tar.gz
linux-crypto-5b69a9aaf716f6fe20a23bc19687a196e7bc634a.zip
crypto: ccm - simplify error handling in crypto_rfc4309_create()
Simplify the error handling in crypto_rfc4309_create() 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/ctr.c')
0 files changed, 0 insertions, 0 deletions