From 9a65a570fab1bf2e907d593631a6b588a821d365 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 11 Jul 2023 09:54:06 +0100 Subject: crypto: Add generic 32-bit carry-less multiply routines Reviewed-by: Ard Biesheuvel Signed-off-by: Richard Henderson --- include/crypto/clmul.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/crypto') diff --git a/include/crypto/clmul.h b/include/crypto/clmul.h index 72672b2..80de516 100644 --- a/include/crypto/clmul.h +++ b/include/crypto/clmul.h @@ -54,4 +54,11 @@ uint64_t clmul_16x2_even(uint64_t, uint64_t); */ uint64_t clmul_16x2_odd(uint64_t, uint64_t); +/** + * clmul_32: + * + * Perform a 32x32->64 carry-less multiply. + */ +uint64_t clmul_32(uint32_t, uint32_t); + #endif /* CRYPTO_CLMUL_H */ -- cgit v1.1