brintos

brintos / linux-shallow public Read only

0
0
Text · 388 B · f832c9f Raw
25 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/*3 * Common values for the GHASH hash function4 */5 6#ifndef __CRYPTO_GHASH_H__7#define __CRYPTO_GHASH_H__8 9#include <linux/types.h>10#include <crypto/gf128mul.h>11 12#define GHASH_BLOCK_SIZE	1613#define GHASH_DIGEST_SIZE	1614 15struct ghash_ctx {16	struct gf128mul_4k *gf128;17};18 19struct ghash_desc_ctx {20	u8 buffer[GHASH_BLOCK_SIZE];21	u32 bytes;22};23 24#endif25