]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - crypto/authenc.c
crypto: null - Get rid of crypto_{get,put}_default_null_skcipher2()
[mirror_ubuntu-eoan-kernel.git] / crypto / authenc.c
index 875470b0e026fb5b61a9e6dfea4dc6e7d9ff06a3..d3d6d72fe649ff00e87bf3a2eb0db591da11081e 100644 (file)
@@ -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)