diff options
author | Eric Biggers <ebiggers@google.com> | 2017-12-07 10:56:34 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-12-22 19:29:08 +1100 |
commit | ffb15a03dbf4998b10ff22afd5937ae63a5c181f (patch) | |
tree | cb0c5a84d4f6307f449f4db4ad6c69e2b0b0b617 /crypto/authenc.c | |
parent | b5677d415a609cfeb0052fdf1694eb1c384e098a (diff) | |
download | linux-crypto-ffb15a03dbf4998b10ff22afd5937ae63a5c181f.tar.gz linux-crypto-ffb15a03dbf4998b10ff22afd5937ae63a5c181f.zip |
crypto: null - Get rid of crypto_{get,put}_default_null_skcipher2()
Since commit 12c88739b745 ("crypto: null - Remove default null
blkcipher"), crypto_get_default_null_skcipher2() and
crypto_put_default_null_skcipher2() are the same as their non-2
equivalents. So switch callers of the "2" versions over to the original
versions and remove the "2" versions.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/authenc.c')
-rw-r--r-- | crypto/authenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/authenc.c b/crypto/authenc.c index 875470b0..d3d6d72f 100644 --- a/crypto/authenc.c +++ b/crypto/authenc.c @@ -329,7 +329,7 @@ static int crypto_authenc_init_tfm(struct crypto_aead *tfm) if (IS_ERR(enc)) goto err_free_ahash; - null = crypto_get_default_null_skcipher2(); + null = crypto_get_default_null_skcipher(); err = PTR_ERR(null); if (IS_ERR(null)) goto err_free_skcipher; @@ -363,7 +363,7 @@ static void crypto_authenc_exit_tfm(struct crypto_aead *tfm) crypto_free_ahash(ctx->auth); crypto_free_skcipher(ctx->enc); - crypto_put_default_null_skcipher2(); + crypto_put_default_null_skcipher(); } static void crypto_authenc_free(struct aead_instance *inst) |