diff options
author | Eric Biggers <ebiggers@google.com> | 2016-10-28 18:52:19 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-11-01 01:37:17 +0100 |
commit | 60425a8bad3995ed06704f2561aace906a429358 (patch) | |
tree | 52741725c132f903a4e1b43c633a3bd84c39dc23 /crypto/ctr.c | |
parent | crypto: skcipher - Get rid of crypto_grab_skcipher2() (diff) | |
download | linux-60425a8bad3995ed06704f2561aace906a429358.tar.xz linux-60425a8bad3995ed06704f2561aace906a429358.zip |
crypto: skcipher - Get rid of crypto_spawn_skcipher2()
Since commit 3a01d0ee2b99 ("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/ctr.c')
-rw-r--r-- | crypto/ctr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ctr.c b/crypto/ctr.c index 57114b131db6..a9a7a44f2783 100644 --- a/crypto/ctr.c +++ b/crypto/ctr.c @@ -312,7 +312,7 @@ static int crypto_rfc3686_init_tfm(struct crypto_skcipher *tfm) unsigned long align; unsigned int reqsize; - cipher = crypto_spawn_skcipher2(spawn); + cipher = crypto_spawn_skcipher(spawn); if (IS_ERR(cipher)) return PTR_ERR(cipher); |