mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
lib/crypto: gf128hash: Remove unused content from ghash.h
Now that the structures in <crypto/ghash.h> are no longer used, remove them. Since this leaves <crypto/ghash.h> as just containing constants, include it from <crypto/gf128hash.h> to deduplicate these definitions. Acked-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20260319061723.1140720-19-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
This commit is contained in:
parent
07241d6c92
commit
a78ae6e364
|
|
@ -8,11 +8,10 @@
|
|||
#ifndef _CRYPTO_GF128HASH_H
|
||||
#define _CRYPTO_GF128HASH_H
|
||||
|
||||
#include <crypto/ghash.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#define GHASH_BLOCK_SIZE 16
|
||||
#define GHASH_DIGEST_SIZE 16
|
||||
#define POLYVAL_BLOCK_SIZE 16
|
||||
#define POLYVAL_DIGEST_SIZE 16
|
||||
|
||||
|
|
|
|||
|
|
@ -6,19 +6,7 @@
|
|||
#ifndef __CRYPTO_GHASH_H__
|
||||
#define __CRYPTO_GHASH_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user