summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-05-22 00:30:24 -0500
committerJakub Kicinski <kuba@kernel.org>2026-05-28 17:45:45 -0700
commitcb2e6e86ceb518f792e9c7f404278cfea63c1154 (patch)
treec3aede5cb1cad51352f2f2458d44a8b44ad5af51 /include
parentf331c7be97cec765c611f95df31ee2a99628a013 (diff)
downloadlinux-next-cb2e6e86ceb518f792e9c7f404278cfea63c1154.tar.gz
linux-next-cb2e6e86ceb518f792e9c7f404278cfea63c1154.zip
crypto: cipher - Remove crypto_clone_cipher()
Since the only caller of crypto_clone_cipher() was cmac_clone_tfm() which has been removed, remove crypto_clone_cipher() as well. Note that no tests need to be removed, as this function had no tests. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Eric Biggers <ebiggers@kernel.org> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Link: https://patch.msgid.link/20260522053028.91165-3-ebiggers@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/crypto/internal/cipher.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/crypto/internal/cipher.h b/include/crypto/internal/cipher.h
index 5030f6d2df31..a9174ba90250 100644
--- a/include/crypto/internal/cipher.h
+++ b/include/crypto/internal/cipher.h
@@ -176,8 +176,6 @@ void crypto_cipher_encrypt_one(struct crypto_cipher *tfm,
void crypto_cipher_decrypt_one(struct crypto_cipher *tfm,
u8 *dst, const u8 *src);
-struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher);
-
struct crypto_cipher_spawn {
struct crypto_spawn base;
};