diff options
author | Eric Biggers <ebiggers@google.com> | 2020-02-26 07:59:16 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 04:28:22 +0300 |
commit | a108dfcff8441193565bb78c4a15bf344ce9b17e (patch) | |
tree | c11c2a5a09d222dd546ef1df1ee2a84b0dbde0e6 /crypto/cts.c | |
parent | b8c0d74a70273cea5724073370fb8ffec9783d20 (diff) | |
download | linux-a108dfcff8441193565bb78c4a15bf344ce9b17e.tar.xz |
crypto: ctr - simplify error handling in crypto_rfc3686_create()
Simplify the error handling in crypto_rfc3686_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 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions