mtd: rawnand: fsl_elbc: Implement RNDOUT command
[linux/fpc-iii.git] / include / crypto / ghash.h
blob9136301062a5cada1a7418db9274c7198c9227b9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Common values for GHASH algorithms
4 */
6 #ifndef __CRYPTO_GHASH_H__
7 #define __CRYPTO_GHASH_H__
9 #include <linux/types.h>
10 #include <crypto/gf128mul.h>
12 #define GHASH_BLOCK_SIZE 16
13 #define GHASH_DIGEST_SIZE 16
15 struct ghash_ctx {
16 struct gf128mul_4k *gf128;
19 struct ghash_desc_ctx {
20 u8 buffer[GHASH_BLOCK_SIZE];
21 u32 bytes;
24 #endif