diff options
author | Eric Biggers <ebiggers@google.com> | 2020-02-25 20:59:17 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 12:28:23 +1100 |
commit | 3ff2bab82f42e05f39c77566f23ccbe5693f7982 (patch) | |
tree | 2ac27f8a5c29602401ab835051d532124ddf3a55 /crypto/tcrypt.h | |
parent | a108dfcff8441193565bb78c4a15bf344ce9b17e (diff) | |
download | lwn-3ff2bab82f42e05f39c77566f23ccbe5693f7982.tar.gz lwn-3ff2bab82f42e05f39c77566f23ccbe5693f7982.zip |
crypto: cts - simplify error handling in crypto_cts_create()
Simplify the error handling in crypto_cts_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/tcrypt.h')
0 files changed, 0 insertions, 0 deletions