]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - crypto/authencesn.c
crypto: skcipher - Get rid of crypto_spawn_skcipher2()
[mirror_ubuntu-bionic-kernel.git] / crypto / authencesn.c
index bad6ef46421b075fa3c33f12230e870f65b78747..6f8f6b86bfe29e0cf0c8fbf2cbe6ab26b705bc9a 100644 (file)
@@ -342,7 +342,7 @@ static int crypto_authenc_esn_init_tfm(struct crypto_aead *tfm)
        if (IS_ERR(auth))
                return PTR_ERR(auth);
 
-       enc = crypto_spawn_skcipher2(&ictx->enc);
+       enc = crypto_spawn_skcipher(&ictx->enc);
        err = PTR_ERR(enc);
        if (IS_ERR(enc))
                goto err_free_ahash;