File Index
Files and directories
Sign in
FILE

ghash.h

File preview with syntax highlighting.

linux-6.19.14/include/crypto/ghash.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 * Common values for the GHASH hash function
 4 */
 5
 6#ifndef __CRYPTO_GHASH_H__
 7#define __CRYPTO_GHASH_H__
 8
 9#include <linux/types.h>
10
11#define GHASH_BLOCK_SIZE	16
12#define GHASH_DIGEST_SIZE	16
13
14struct gf128mul_4k;
15
16struct ghash_ctx {
17	struct gf128mul_4k *gf128;
18};
19
20struct ghash_desc_ctx {
21	u8 buffer[GHASH_BLOCK_SIZE];
22};
23
24#endif
~/ Read-only file preview.