diff options
author | Eric Biggers <ebiggers@google.com> | 2020-01-03 04:59:05 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-01-09 04:30:57 +0100 |
commit | d5ed3b65f7012a6592809f7f928f3e3660df8fd9 (patch) | |
tree | d1fb65b0fe7aaf46fdb7732586ca54090c5ab581 /crypto/adiantum.c | |
parent | crypto: xcbc - use crypto_grab_cipher() and simplify error paths (diff) | |
download | linux-d5ed3b65f7012a6592809f7f928f3e3660df8fd9.tar.xz linux-d5ed3b65f7012a6592809f7f928f3e3660df8fd9.zip |
crypto: cipher - make crypto_spawn_cipher() take a crypto_cipher_spawn
Now that all users of single-block cipher spawns have been converted to
use 'struct crypto_cipher_spawn' rather than the less specifically typed
'struct crypto_spawn', make crypto_spawn_cipher() take a pointer to a
'struct crypto_cipher_spawn' rather than a 'struct crypto_spawn'.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/adiantum.c')
-rw-r--r-- | crypto/adiantum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/adiantum.c b/crypto/adiantum.c index 5b8aa14ccb55..4d7a6cac82ed 100644 --- a/crypto/adiantum.c +++ b/crypto/adiantum.c @@ -408,7 +408,7 @@ static int adiantum_init_tfm(struct crypto_skcipher *tfm) if (IS_ERR(streamcipher)) return PTR_ERR(streamcipher); - blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn.base); + blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn); if (IS_ERR(blockcipher)) { err = PTR_ERR(blockcipher); goto err_free_streamcipher; |