]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - crypto/chacha20poly1305.c
hwrng: Make explicit that max >= 32 always
[karo-tx-linux.git] / crypto / chacha20poly1305.c
index 66291d4ddaab3b33335dc99008f82db7e71a3cad..db1bc3147bc4708b5a4e16c36844e5452101bf64 100644 (file)
@@ -532,7 +532,7 @@ static int chachapoly_init(struct crypto_aead *tfm)
        if (IS_ERR(poly))
                return PTR_ERR(poly);
 
-       chacha = crypto_spawn_skcipher2(&ictx->chacha);
+       chacha = crypto_spawn_skcipher(&ictx->chacha);
        if (IS_ERR(chacha)) {
                crypto_free_ahash(poly);
                return PTR_ERR(chacha);