diff options
author | Eric Biggers <ebiggers@google.com> | 2020-02-25 20:59:21 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 12:28:23 +1100 |
commit | da194ca3a0ad3684b0788482cf53f114072e4ac7 (patch) | |
tree | bfb6473f45e027fbeb437917b487f054dc31d569 /crypto/jitterentropy.h | |
parent | 2888df8b18fe7a73dc5902fbeabb61d0115447ea (diff) | |
download | linux-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/jitterentropy.h')
0 files changed, 0 insertions, 0 deletions