5 #ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_KMAC_H_
6 #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_KMAC_H_
78 kDifKmacEntropyModeIdle = 0,
79 kDifKmacEntropyModeEdn,
80 kDifKmacEntropyModeSoftware,
397 kDifErrorUnexpectedModeStrength = 6,
399 kDifErrorIncorrectFunctionName = 7,
401 kDifErrorSoftwareCommandSequence = 8,
403 kDifErrorSoftwareHashingWithoutEntropyReady = 9,
405 kDifErrorFatalError = 0xC1,
407 kDifErrorPackerIntegrity = 0xC2,
409 kDifErrorMsgFifoIntegrity = 0xC3,
445 } dif_kmac_sha3_state_t;
651 const void *msg,
size_t len,
size_t *processed);
690 uint32_t *out,
size_t len,
size_t *processed,
813 #endif // __cplusplus
815 #endif // OPENTITAN_SW_DEVICE_LIB_DIF_DIF_KMAC_H_