Home
last modified time | relevance | path

Searched refs:hashbitlen (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dedonr.h72 size_t hashbitlen; member
83 void EdonRInit(EdonRState *state, size_t hashbitlen);
86 void EdonRHash(size_t hashbitlen, const uint8_t *data, size_t databitlen,
/illumos-gate/usr/src/common/crypto/edonr/
H A Dedonr.c449 EdonRInit(EdonRState *state, size_t hashbitlen) in EdonRInit() argument
451 ASSERT(EDONR_VALID_HASHBITLEN(hashbitlen)); in EdonRInit()
452 switch (hashbitlen) { in EdonRInit()
454 state->hashbitlen = 224; in EdonRInit()
462 state->hashbitlen = 256; in EdonRInit()
470 state->hashbitlen = 384; in EdonRInit()
478 state->hashbitlen = 512; in EdonRInit()
496 ASSERT(EDONR_VALID_HASHBITLEN(state->hashbitlen)); in EdonRUpdate()
497 switch (state->hashbitlen) { in EdonRUpdate()
580 ASSERT(EDONR_VALID_HASHBITLEN(state->hashbitlen)); in EdonRFinal()
[all …]