CSSv2 header for random number generation. More...
#include <mcuxClCss_Common.h>
Go to the source code of this file.
Macros | |
#define | MCUXCLCSS_RNG_DTRNG_CONFIG_SIZE |
Size of DTRNG configuration. More... | |
#define | MCUXCLCSS_RNG_DTRNG_EVAL_CONFIG_SIZE |
Size of DTRNG characterization data. More... | |
#define | MCUXCLCSS_RNG_DTRNG_EVAL_RESULT_SIZE |
Size of DTRNG characterization result. More... | |
#define | MCUXCLCSS_RNG_DRBG_TEST_EXTRACT_OUTPUT_MIN_SIZE |
Minimum output size of mcuxClCss_Rng_DrbgTestExtract_Async. More... | |
#define | MCUXCLCSS_RNG_DRBG_TEST_EXTRACT_OUTPUT_MAX_SIZE |
Maximum output size of mcuxClCss_Rng_DrbgTestExtract_Async. More... | |
Functions | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_Rng_DrbgRequest_Async (uint8_t *pOutput, size_t outputLength) |
Writes random data from the CSS DRBG to the given buffer. More... | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_Rng_DrbgTestInstantiate_Async (uint8_t const *pEntropy) |
Instantiates the DRBG in test mode. More... | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_Rng_DrbgTestExtract_Async (uint8_t *pOutput, size_t outputLength) |
Performs a DRBG extraction. More... | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_Rng_DrbgTestAesEcb_Async (uint8_t const *pDataKey, uint8_t *pOutput) |
Encrypts data using the AES-ECB engine of the DRBG. More... | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_Rng_DrbgTestAesCtr_Async (uint8_t const *pData, size_t dataLength, uint8_t const *pIvKey, uint8_t *pOutput) |
Encrypts data using the AES-CTR engine of the DRBG. More... | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_Rng_Dtrng_ConfigLoad_Async (uint8_t const *pInput) |
Loads a configuration of the CSS DTRNG. More... | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_Rng_Dtrng_ConfigEvaluate_Async (uint8_t const *pInput, uint8_t *pOutput) |
Performs characterization of the CSS DTRNG. More... | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_Prng_GetRandomWord (uint32_t *pWord) |
Returns one random word from the CSS PRNG. More... | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_Prng_GetRandom (uint8_t *pOutput, size_t outputLength) |
Writes random data from the CSS PRNG to the given buffer. More... | |
CSSv2 header for random number generation.
This header exposes functions to configure the CSSv2 RNGs (DRBG and DTRNG) and to generate random data.