diff options
author | Eric Biggers <ebiggers@google.com> | 2016-10-28 09:52:19 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-11-01 08:37:17 +0800 |
commit | bb98368a8fb13c0ddbfcd29a6b09d33135aed1c0 (patch) | |
tree | 45f3f3bd77b6b2fd2dc5e23ad53ed0650adf0de7 /crypto/chacha20poly1305.c | |
parent | 93333f1378165d078517a8328076f7b90f1fa8b7 (diff) | |
download | linux-crypto-bb98368a8fb13c0ddbfcd29a6b09d33135aed1c0.tar.gz linux-crypto-bb98368a8fb13c0ddbfcd29a6b09d33135aed1c0.zip |
crypto: skcipher - Get rid of crypto_spawn_skcipher2()
Since commit 142ab044a5c4 ("crypto: skcipher - Remove top-level
givcipher interface"), crypto_spawn_skcipher2() and
crypto_spawn_skcipher() are equivalent. So switch callers of
crypto_spawn_skcipher2() to crypto_spawn_skcipher() and remove it.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/chacha20poly1305.c')
-rw-r--r-- | crypto/chacha20poly1305.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/chacha20poly1305.c b/crypto/chacha20poly1305.c index 66291d4d..db1bc314 100644 --- a/crypto/chacha20poly1305.c +++ b/crypto/chacha20poly1305.c @@ -532,7 +532,7 @@ static int chachapoly_init(struct crypto_aead *tfm) if (IS_ERR(poly)) return PTR_ERR(poly); - chacha = crypto_spawn_skcipher2(&ictx->chacha); + chacha = crypto_spawn_skcipher(&ictx->chacha); if (IS_ERR(chacha)) { crypto_free_ahash(poly); return PTR_ERR(chacha); |