23 #ifndef LWCRYPTO_XOODYAK_HMAC_H
24 #define LWCRYPTO_XOODYAK_HMAC_H
54 #define XOODYAK_HMAC_SIZE XOODYAK_HASH_SIZE
73 const unsigned char *key,
size_t keylen,
74 const unsigned char *in,
size_t inlen);
89 (xoodyak_hmac_state_t *state,
const unsigned char *key,
size_t keylen);
101 (xoodyak_hmac_state_t *state,
const unsigned char *in,
size_t inlen);
115 (xoodyak_hmac_state_t *state,
const unsigned char *key,
size_t keylen,
void xoodyak_hmac_update(xoodyak_hmac_state_t *state, const unsigned char *in, size_t inlen)
Updates an incremental Xoodyak-HMAC state with more input data.
State information for Xoodyak incremental hashing modes.
Definition: xoodyak-hash.h:56
xoodyak_hash_state_t xoodyak_hmac_state_t
State information for the Xoodyak-HMAC incremental mode.
Definition: xoodyak-hmac.h:59
void xoodyak_hmac_finalize(xoodyak_hmac_state_t *state, const unsigned char *key, size_t keylen, unsigned char *out)
Finalizes an incremental Xoodyak-HMAC state.
void xoodyak_hmac_init(xoodyak_hmac_state_t *state, const unsigned char *key, size_t keylen)
Initializes an incremental HMAC state using Xoodyak-Hash.
void xoodyak_hmac(unsigned char *out, const unsigned char *key, size_t keylen, const unsigned char *in, size_t inlen)
Computes a HMAC value using Xoodyak-Hash.
Xoodyak-Hash hash algorithm.