summaryrefslogtreecommitdiff
path: root/crypto/algif_skcipher.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-02-25 20:59:24 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-03-06 12:28:24 +1100
commitd43acecb718e93890d568ea69a4188ea22b76138 (patch)
tree8762d5e2eb1d6ace5a1b41719f59406402caf1aa /crypto/algif_skcipher.c
parentb25af79b4b897b4b0e5b4db37cbdff6d718180ea (diff)
downloadlinux-crypto-d43acecb718e93890d568ea69a4188ea22b76138.tar.gz
linux-crypto-d43acecb718e93890d568ea69a4188ea22b76138.zip
crypto: xts - simplify error handling in ->create()
Simplify the error handling in the XTS template's ->create() function 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/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions