summaryrefslogtreecommitdiff
path: root/crypto/cryptd.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-01-02 19:58:52 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-01-09 11:30:55 +0800
commit4f272da0a196421f17bef19ef01272911d1d6fef (patch)
tree4665fc90269229be44677089a61fdf9af964f187 /crypto/cryptd.c
parent3ba363f4eab397770a3ce583a5f31ee4feacb0cc (diff)
downloadlinux-crypto-4f272da0a196421f17bef19ef01272911d1d6fef.tar.gz
linux-crypto-4f272da0a196421f17bef19ef01272911d1d6fef.zip
crypto: adiantum - use crypto_grab_{cipher,shash} and simplify error paths
Make the adiantum template use the new functions crypto_grab_cipher() and crypto_grab_shash() to initialize its cipher and shash spawns. This is needed to make all spawns be initialized in a consistent way. Also simplify the error handling by taking advantage of crypto_drop_*() now accepting (as a no-op) spawns that haven't been initialized yet, and by taking advantage of crypto_grab_*() now handling ERR_PTR() names. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cryptd.c')
0 files changed, 0 insertions, 0 deletions