]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - crypto/cts.c
crypto: skcipher - Get rid of crypto_grab_skcipher2()
[mirror_ubuntu-bionic-kernel.git] / crypto / cts.c
index 51976187b2bf81516f2c64b388387484714037d2..8883b622d454e4e0d6ca79bdd68f81555567ea70 100644 (file)
@@ -348,9 +348,9 @@ static int crypto_cts_create(struct crypto_template *tmpl, struct rtattr **tb)
        spawn = skcipher_instance_ctx(inst);
 
        crypto_set_skcipher_spawn(spawn, skcipher_crypto_instance(inst));
-       err = crypto_grab_skcipher2(spawn, cipher_name, 0,
-                                   crypto_requires_sync(algt->type,
-                                                        algt->mask));
+       err = crypto_grab_skcipher(spawn, cipher_name, 0,
+                                  crypto_requires_sync(algt->type,
+                                                       algt->mask));
        if (err)
                goto err_free_inst;