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 | 376ffe1acbc642ce38169f7410b1735ffcacd774 (patch) | |
tree | e75a563ead60193844649d0098581ea564bc4ada /lib/ubsan.h | |
parent | c4caa56d8f995aa34118757c6525cf6048c68def (diff) | |
download | linux-376ffe1acbc642ce38169f7410b1735ffcacd774.tar.gz linux-376ffe1acbc642ce38169f7410b1735ffcacd774.tar.bz2 linux-376ffe1acbc642ce38169f7410b1735ffcacd774.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 'lib/ubsan.h')
0 files changed, 0 insertions, 0 deletions