diff options
author | Eric Biggers <ebiggers@google.com> | 2020-02-25 20:59:14 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 12:28:22 +1100 |
commit | 64d66793b76cd3db39137cf9fc7ebe9c2010931d (patch) | |
tree | cbbb7583b9401a501d90b058b6284de4fa8b8aa8 /arch/sh | |
parent | d1dc4df1fe21df4f83b8aa7997310480df72eddc (diff) | |
download | linux-64d66793b76cd3db39137cf9fc7ebe9c2010931d.tar.gz linux-64d66793b76cd3db39137cf9fc7ebe9c2010931d.tar.bz2 linux-64d66793b76cd3db39137cf9fc7ebe9c2010931d.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 'arch/sh')
0 files changed, 0 insertions, 0 deletions