diff options
author | Eric Biggers <ebiggers@google.com> | 2020-02-25 20:59:17 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 12:28:23 +1100 |
commit | be5320de1690765f2898cd455108b13a62434ae2 (patch) | |
tree | 1dd5268c9fc5040a62bdb32817e4c2df29997ffb /crypto/rmd128.c | |
parent | 7d3081f45954ef8d5f88933ea1a65cefcd0589a6 (diff) | |
download | linux-crypto-be5320de1690765f2898cd455108b13a62434ae2.tar.gz linux-crypto-be5320de1690765f2898cd455108b13a62434ae2.zip |
crypto: cts - simplify error handling in crypto_cts_create()
Simplify the error handling in crypto_cts_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/rmd128.c')
0 files changed, 0 insertions, 0 deletions