summaryrefslogtreecommitdiff
path: root/crypto/cbc.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-02-25 20:59:21 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-03-06 12:28:23 +1100
commitda194ca3a0ad3684b0788482cf53f114072e4ac7 (patch)
treebfb6473f45e027fbeb437917b487f054dc31d569 /crypto/cbc.c
parent2888df8b18fe7a73dc5902fbeabb61d0115447ea (diff)
downloadlinux-crypto-da194ca3a0ad3684b0788482cf53f114072e4ac7.tar.gz
linux-crypto-da194ca3a0ad3684b0788482cf53f114072e4ac7.zip
crypto: lrw - simplify error handling in create()
Simplify the error handling in the LRW 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/cbc.c')
0 files changed, 0 insertions, 0 deletions