From: Eric Biggers Date: Thu, 19 Mar 2026 06:17:19 +0000 (-0700) Subject: lib/crypto: gf128hash: Remove unused content from ghash.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a78ae6e364aea8aec3996de274c4f5bc98e1d771;p=thirdparty%2Fkernel%2Fstable.git lib/crypto: gf128hash: Remove unused content from ghash.h Now that the structures in are no longer used, remove them. Since this leaves as just containing constants, include it from to deduplicate these definitions. Acked-by: Ard Biesheuvel Link: https://lore.kernel.org/r/20260319061723.1140720-19-ebiggers@kernel.org Signed-off-by: Eric Biggers --- diff --git a/include/crypto/gf128hash.h b/include/crypto/gf128hash.h index 0bc649d01e12..41c557d55965 100644 --- a/include/crypto/gf128hash.h +++ b/include/crypto/gf128hash.h @@ -8,11 +8,10 @@ #ifndef _CRYPTO_GF128HASH_H #define _CRYPTO_GF128HASH_H +#include #include #include -#define GHASH_BLOCK_SIZE 16 -#define GHASH_DIGEST_SIZE 16 #define POLYVAL_BLOCK_SIZE 16 #define POLYVAL_DIGEST_SIZE 16 diff --git a/include/crypto/ghash.h b/include/crypto/ghash.h index 043d938e9a2c..d187e5af9925 100644 --- a/include/crypto/ghash.h +++ b/include/crypto/ghash.h @@ -6,19 +6,7 @@ #ifndef __CRYPTO_GHASH_H__ #define __CRYPTO_GHASH_H__ -#include - #define GHASH_BLOCK_SIZE 16 #define GHASH_DIGEST_SIZE 16 -struct gf128mul_4k; - -struct ghash_ctx { - struct gf128mul_4k *gf128; -}; - -struct ghash_desc_ctx { - u8 buffer[GHASH_BLOCK_SIZE]; -}; - #endif