commit | d57063103332b95eac9c118900f35700a491da08 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Tue Feb 25 20:59:21 2020 -0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Mar 06 12:28:23 2020 +1100 |
tree | d338266f5455ce046884929b4c7f72ead55ac35e | |
parent | 376ffe1acbc642ce38169f7410b1735ffcacd774 [diff] |
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>