summaryrefslogtreecommitdiff
path: root/crypto/gcm.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-02-25 20:59:17 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-03-06 12:28:23 +1100
commitbe5320de1690765f2898cd455108b13a62434ae2 (patch)
tree1dd5268c9fc5040a62bdb32817e4c2df29997ffb /crypto/gcm.c
parent7d3081f45954ef8d5f88933ea1a65cefcd0589a6 (diff)
downloadlinux-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 '')
0 files changed, 0 insertions, 0 deletions