5 #ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_CSRNG_H_
6 #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_CSRNG_H_
19 #include "csrng_regs.h"
99 kDifCsrngFifoUpdateReq,
100 kDifCsrngFifoBencRec,
101 kDifCsrngFifoBencAck,
104 kDifCsrngFifoGBencAck,
105 kDifCsrngFifoGrcStage,
106 kDifCsrngFifoGGenReq,
107 kDifCsrngFifoGadStage,
108 kDifCsrngFifoBlockEnc,
316 1U << CSRNG_RECOV_ALERT_STS_ENABLE_FIELD_ALERT_BIT,
322 1U << CSRNG_RECOV_ALERT_STS_SW_APP_ENABLE_FIELD_ALERT_BIT,
328 1U << CSRNG_RECOV_ALERT_STS_READ_INT_STATE_FIELD_ALERT_BIT,
334 1U << CSRNG_RECOV_ALERT_STS_ACMD_FLAG0_FIELD_ALERT_BIT,
340 1U << CSRNG_RECOV_ALERT_STS_CS_BUS_CMP_ALERT_BIT,
345 1U << CSRNG_RECOV_ALERT_STS_CMD_STAGE_INVALID_ACMD_ALERT_BIT,
350 1U << CSRNG_RECOV_ALERT_STS_CMD_STAGE_INVALID_CMD_SEQ_ALERT_BIT,
355 1U << CSRNG_RECOV_ALERT_STS_CMD_STAGE_RESEED_CNT_ALERT_BIT,
537 uint32_t *exceptions);
587 uint32_t *reseed_counter);
645 #endif // __cplusplus
647 #endif // OPENTITAN_SW_DEVICE_LIB_DIF_DIF_CSRNG_H_