diff options
author | Eric Biggers <ebiggers@google.com> | 2020-02-25 20:59:16 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 12:28:22 +1100 |
commit | 7d3081f45954ef8d5f88933ea1a65cefcd0589a6 (patch) | |
tree | 1cc51fd75fcb354b9593e7213bd355bd6bd8a1e6 /crypto/rmd320.c | |
parent | 0ad13ff53382f70e3b6116c669404837fd446858 (diff) | |
download | linux-crypto-7d3081f45954ef8d5f88933ea1a65cefcd0589a6.tar.gz linux-crypto-7d3081f45954ef8d5f88933ea1a65cefcd0589a6.zip |
crypto: ctr - simplify error handling in crypto_rfc3686_create()
Simplify the error handling in crypto_rfc3686_create() by taking
advantage of crypto_grab_skcipher() now handling an ERR_PTR() name and
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/rmd320.c')
0 files changed, 0 insertions, 0 deletions