summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-04-24 18:47:30 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-04-28 19:40:54 +0800
commite3b49657228c114099b4591821465dc6f9884c61 (patch)
tree10e86c045e3d80108f3363ee9ab9e26a6a364459 /include/crypto
parent74df89ff7676479651059f82af35a3c9bb41327c (diff)
downloadlinux-e3b49657228c114099b4591821465dc6f9884c61.tar.gz
linux-e3b49657228c114099b4591821465dc6f9884c61.tar.bz2
linux-e3b49657228c114099b4591821465dc6f9884c61.zip
crypto: polyval-generic - Use API partial block handling
Use the Crypto API partial block handling. The accelerated export format on x86/arm64 is easier to use so switch the generic polyval algorithm to use that format instead. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/polyval.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/crypto/polyval.h b/include/crypto/polyval.h
index 1d630f371f77..d2e63743e592 100644
--- a/include/crypto/polyval.h
+++ b/include/crypto/polyval.h
@@ -8,15 +8,7 @@
#ifndef _CRYPTO_POLYVAL_H
#define _CRYPTO_POLYVAL_H
-#include <linux/types.h>
-#include <linux/crypto.h>
-
#define POLYVAL_BLOCK_SIZE 16
#define POLYVAL_DIGEST_SIZE 16
-void polyval_mul_non4k(u8 *op1, const u8 *op2);
-
-void polyval_update_non4k(const u8 *key, const u8 *in,
- size_t nblocks, u8 *accumulator);
-
#endif