5 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_AES_GCM_GHASH_H_
6 #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_AES_GCM_GHASH_H_
19 kGhashBlockNumBytes = 128 / 8,
23 kGhashBlockNumWords = kGhashBlockNumBytes /
sizeof(uint32_t),
30 uint32_t data[kGhashBlockNumWords];
60 void ghash_init_subkey(
const uint32_t *hash_subkey,
ghash_context_t *ctx);
89 void ghash_process_full_blocks(
ghash_context_t *ctx,
size_t partial_len,
91 const uint8_t *input);
107 void ghash_update(
ghash_context_t *ctx,
size_t input_len,
const uint8_t *input);