Defines all functions of mcuxClRandom. More...
Functions | |
MCUX_CSSL_FP_PROTECTED_TYPE (mcuxClRandom_Status_t) mcuxClRandom_init(mcuxClSession_Handle_t pSession | |
Random data generator initialization function. More... | |
Variables | |
mcuxClRandom_Context_t | pContext |
mcuxClRandom_Context_t mcuxClRandom_Mode_t | mode |
uint8_t * | pOut |
uint8_t uint32_t | outLength |
uint32_t | securityStrength |
Defines all functions of mcuxClRandom.
MCUX_CSSL_FP_PROTECTED_TYPE | ( | mcuxClRandom_Status_t | ) |
Random data generator initialization function.
Deprecated type for mcuxClSession protected status codes.
Deprecated type for RSA protected status codes.
Deprecated type for error codes used by code-flow protected PKC component functions.
Deprecated type for error codes used by code-flow protected mcuxClMemory component functions.
Deprecated type for error codes used by code-flow protected Math component functions.
Deprecated type for Key component error codes, returned by functions with code-flow protection.
Deprecated type for ELS driver protected status codes.
Deprecated type for mcuxClEcc component return codes.
Non-cryptographic PRNG data generation function.
Non-cryptographic PRNG initialization function.
Random data generator security strength check.
Random data generator self-test function.
Random data generator uninitialization function.
Random data generation function.
Random data generator reseed function.
This function performs the initialization of a random data generator. This operation initializes the Random context referenced in the session handle.
[in] | pSession | Handle for the current CL session. |
[in] | pContext | Pointer to a Random data context buffer large enough to hold the context for the selected mode |
[in] | mode | Mode of operation for random data generator. |
This function performs the reseeding of a random data generator. This operation fetches a fresh seed from a TRNG and updates the state in the Random context referenced in the session handle.
[in] | pSession | Handle for the current CL session. |
This function generates random data based on the information contained in the Random context referenced in the session handle.
[in] | pSession | Handle for the current CL session. |
[out] | pOut | Buffer in which the generated random data must be written. |
[in] | outLength | Number of random data bytes that must be written in the pOut buffer. |
This function performs the cleanup of a random data generator. This operation cleans up the Random context referenced in the session handle.
[in] | pSession | Handle for the current CL session. |
This function performs a series of selft-tests on the random data generator. These tests are performed on the random data generator defined by Random context referenced in the session handle.
[in] | pSession | Handle for the current CL session. |
This function reports whether the the random data generator can provide the requested security strength.
[in] | pSession | Handle for the current CL session. |
[in] | securityStrength | Requested security strength in bits. |
This function performs the initialization of the non-cryptographic random number generator.
[in] | pSession | Handle for the current CL session. |
This function generates non-cryptographic random data based on the information contained in the Random context referenced in the session handle.
[in] | pSession | Handle for the current CL session. |
[out] | pOut | Buffer in which the generated random data must be written. |
[in] | outLength | Number of random data bytes that must be written in the pOut buffer. |