23 #ifndef LWCRYPTO_ROMULUS_HMAC_H
24 #define LWCRYPTO_ROMULUS_HMAC_H
54 #define ROMULUS_HMAC_SIZE ROMULUS_HASH_SIZE
73 const unsigned char *key,
size_t keylen,
74 const unsigned char *in,
size_t inlen);
89 (romulus_hmac_state_t *state,
const unsigned char *key,
size_t keylen);
101 (romulus_hmac_state_t *state,
const unsigned char *in,
size_t inlen);
115 (romulus_hmac_state_t *state,
const unsigned char *key,
size_t keylen,
void romulus_hmac_init(romulus_hmac_state_t *state, const unsigned char *key, size_t keylen)
Initializes an incremental HMAC state using Romulus-H.
void romulus_hmac_update(romulus_hmac_state_t *state, const unsigned char *in, size_t inlen)
Updates an incremental Romulus-HMAC state with more input data.
Romulus-H hash algorithm.
romulus_hash_state_t romulus_hmac_state_t
State information for the Romulus-HMAC incremental mode.
Definition: romulus-hmac.h:59
State information for Romulus-H incremental modes.
Definition: romulus-hash.h:56
void romulus_hmac_finalize(romulus_hmac_state_t *state, const unsigned char *key, size_t keylen, unsigned char *out)
Finalizes an incremental Romulus-HMAC state.
void romulus_hmac(unsigned char *out, const unsigned char *key, size_t keylen, const unsigned char *in, size_t inlen)
Computes a HMAC value using Romulus-H.