AnsweredAssumed Answered

TRNG on S32K144EVB

Question asked by Bertrand Tay on Jun 25, 2018
Latest reply on Jul 24, 2018 by Veronica Mihaela Velciu

Hi,

 

I'm trying out the CSEc funtionality on the S32K144EVB-Q100.

 

In AN5401 (attached), it says in Section 3 that APIs for TRNG are available.

 

However, in the header files defining the CSEc commands, I have the following and I do not see one for TRNG. Perhaps one of the reserved commands?

 

Help greatly appreciated .

 

typedef enum {
CSEC_CMD_ENC_ECB = 0x1U,
CSEC_CMD_ENC_CBC,
CSEC_CMD_DEC_ECB,
CSEC_CMD_DEC_CBC,
CSEC_CMD_GENERATE_MAC,
CSEC_CMD_VERIFY_MAC,
CSEC_CMD_LOAD_KEY,
CSEC_CMD_LOAD_PLAIN_KEY,
CSEC_CMD_EXPORT_RAM_KEY,
CSEC_CMD_INIT_RNG,
CSEC_CMD_EXTEND_SEED,
CSEC_CMD_RND,
CSEC_CMD_RESERVED_1,
CSEC_CMD_BOOT_FAILURE,
CSEC_CMD_BOOT_OK,
CSEC_CMD_GET_ID,
CSEC_CMD_BOOT_DEFINE,
CSEC_CMD_DBG_CHAL,
CSEC_CMD_DBG_AUTH,
CSEC_CMD_RESERVED_2,
CSEC_CMD_RESERVED_3,
CSEC_CMD_MP_COMPRESS
} csec_cmd_t;

Attachments

Outcomes