23 #ifndef LWCRYPTO_ROMULUS_HASH_H
24 #define LWCRYPTO_ROMULUS_HASH_H
46 #define ROMULUS_HASH_SIZE 32
51 #define ROMULUS_HASH_RATE 32
82 (
unsigned char *out,
const unsigned char *in,
size_t inlen);
int romulus_hash(unsigned char *out, const unsigned char *in, size_t inlen)
Hashes a block of input data with Romulus-H.
Definition: romulus-hash.c:45
void romulus_hash_init(romulus_hash_state_t *state)
Initializes the state for a Romulus-H hashing operation.
Definition: romulus-hash.c:54
unsigned long long align
Definition: romulus-hash.h:64
void romulus_hash_finalize(romulus_hash_state_t *state, unsigned char *out)
Returns the final hash value from a Romulus-H hashing operation.
Definition: romulus-hash.c:144
State information for Romulus-H incremental modes.
Definition: romulus-hash.h:56
void romulus_hash_update(romulus_hash_state_t *state, const unsigned char *in, size_t inlen)
Updates a Romulus-H hash state with more input data.
Definition: romulus-hash.c:103
unsigned char count
Definition: romulus-hash.h:61
unsigned char mode
Definition: romulus-hash.h:62