Random operations in TEST_MODE. More...
Functions | |
| mcuxClRandom_Status_t | mcuxClRandomModes_createTestFromNormalMode (mcuxClRandom_ModeDescriptor_t *pTestMode, mcuxClRandom_Mode_t normalMode, const uint32_t *const pCustomSeed) |
| This function creates a TEST_MODE descriptor from an existing NORMAL_MODE one. | |
| mcuxClRandom_Status_t | mcuxClRandomModes_updateEntropyInput (mcuxClRandom_ModeDescriptor_t *pTestMode, const uint32_t *const pCustomSeed) |
| This function updates the custom seed pointer in a TEST_MODE descriptor. | |
Random operations in TEST_MODE.
| mcuxClRandom_Status_t mcuxClRandomModes_createTestFromNormalMode | ( | mcuxClRandom_ModeDescriptor_t * | pTestMode, |
| mcuxClRandom_Mode_t | normalMode, | ||
| const uint32_t *const | pCustomSeed ) |
This function creates a TEST_MODE descriptor from an existing NORMAL_MODE one.
This function creates a TEST_MODE descriptor from an existing NORMAL_MODE one. The function expects as input a pointer to a buffer to which the user of the CL shall write a custom seed to be used for (re)seeding the DRBG. The function shall be called prior to an mcuxClRandom_init call.
| testMode[out] | Pointer to TEST_MODE descriptor to be initialized |
| normalMode[in] | Pointer to NORMAL_MODE descriptor to be used as basis for the initialization |
| pCustomSeed[in] | Pointer to memory buffer containing a custom seed for DRBG (re)seeding |
| mcuxClRandom_Status_t mcuxClRandomModes_updateEntropyInput | ( | mcuxClRandom_ModeDescriptor_t * | pTestMode, |
| const uint32_t *const | pCustomSeed ) |
This function updates the custom seed pointer in a TEST_MODE descriptor.
| testMode[in] | Pointer to TEST_MODE descriptor |
| pCustomSeed[in] | Pointer to memory buffer containing custom seed for DRBG (re)seeding |