18#ifndef PROTOCORE_GHASH_H
19#define PROTOCORE_GHASH_H
23#if PROTOCORE_ENABLE_GHASH
28#define PROTOCORE_GHASH_KEY_LEN 16
31#define PROTOCORE_GHASH_ACC_LEN 16
93 GhashKeyArgs key_args;
94 GhashMulArgs mul_args;
95 GhashUpdateArgs update_args;
100extern GhashVars GhashV;
105 void (*
const key_init)(uint8_t *work);
106 void (*
const mul)(uint8_t *work);
107 void (*
const update)(uint8_t *work);
112void protocore_ghash_key_init(uint8_t *work);
113void protocore_ghash_mul(uint8_t *work);
114void protocore_ghash_update(uint8_t *work);
120static const GhashNs Ghash __attribute__((unused)) = {
121 .key_init = protocore_ghash_key_init,
122 .mul = protocore_ghash_mul,
123 .update = protocore_ghash_update,
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS