mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Use the Crypto API partial block handling. As this was the last user relying on crypto/ghash.h for gf128mul.h, remove the unnecessary inclusion of gf128mul.h from crypto/ghash.h. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
24 lines
368 B
C
24 lines
368 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Common values for the GHASH hash function
|
|
*/
|
|
|
|
#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
|