| /trusted-firmware-m-latest/platform/ext/target/nuvoton/common/bsp/Include/ |
| D | trng_reg.h | 4 * @brief TRNG register definition header file 20 @addtogroup TRNG True Random Number Generator(TRNG) 21 Memory Mapped Structure for TRNG Controller 31 * Offset: 0x00 TRNG Control Register and Status 37 * | | |0 = TRNG Disabled. 38 * | | |1 = TRNG Enabled. 40 …* | | |When TRNG is not required to generate random number, TRNGEN bit and ACT (TR… 47 …et TRNGEN bit to 0 and then change CLKP; finally, set TRNGEN bit to 1 to re-enable the TRNG module. 70 * |[8] |SEEDGEN |Random Number Seed Generator Enable Bit [for TRNG+PRNG] 74 … * | | |Note: If users want to execute TRNG+PRNG mode, they should set SEEDGEN to 1 [all …]
|
| /trusted-firmware-m-latest/platform/ext/target/nuvoton/common/bsp/StdDriver/src/ |
| D | rng.c | 64 TRNG->ACT |= TRNG_ACT_ACT_Msk; in RNG_Open() 67 while((TRNG->CTL & TRNG_CTL_READY_Msk) == 0) in RNG_Open() 71 /* TRNG ready timeout */ in RNG_Open() 76 TRNG->CTL = (0 << TRNG_CTL_CLKPSC_Pos); in RNG_Open() 80 TRNG->CTL |= (1 << 8); in RNG_Open() 84 while((TRNG->CTL & (1 << 9)) == 0) in RNG_Open() 104 /* Set seed select to TRNG */ in RNG_Open() 201 TRNG->ACT |= TRNG_ACT_ACT_Msk; in RNG_ECDSA_Init() 204 while((TRNG->CTL & TRNG_CTL_READY_Msk) == 0) in RNG_ECDSA_Init() 212 TRNG->CTL = (0 << TRNG_CTL_CLKPSC_Pos); in RNG_ECDSA_Init() [all …]
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rnd_dma/ |
| D | llf_rnd_trng.h | 35 * @brief The function starts the TRNG with given parameters and ROSCs lengths 38 * started TRNG processes were compleated and Interrupts cleared. 42 * checks actual parameters, loaded in TRNG registers, 47 * them in the HW, starts the TRNG clocks and sets TRNG parameters 50 * initializes the TRNG Interrupt. Enables RNG source. 54 * @param[in/out] trngParams_ptr - The pointer to structure, containing TRNG parameters. 74 * @brief The LLF_RND_GetTrngSource reads random source of needed size from TRNG. 79 * @param[in/out] trngParams_ptr - The pointer to structure, containing TRNG parameters. 81 * continue a previous one or restart TRNG. 109 * @brief The LLF_RND_RunTrngStartupTest runs the startup tests required for TRNG. [all …]
|
| D | llf_rnd_hwdefs.h | 35 /* TRNG_CONFIG value for SRC_SEL = 0, SOP_SEL = 1 (SOP = TRNG EHR output)*/ 63 maximal allowed time for TRNG generation (per one ROSC) expected minimal 82 /* TRNG errors mask - masking all bits besides TRNG errors: AutoCorr + VN + *
|
| D | llf_rnd_fetrng.c | 75 * The function checks that parameters, loaded in the TRNG HW 89 /* check Debug control - masked TRNG tests according to mode */ in LLF_RND_TRNG_CheckHwParams() 225 /* 2. Restart the TRNG and set parameters */ in LLF_RND_StartTrngHW() 328 /* Case of RND KAT or TRNG KAT testing */ in LLF_RND_GetTrngSource() 360 /* If not continued mode, set TRNG parameters and restart TRNG */ in LLF_RND_GetTrngSource() 364 /* Set instantiation, TRNG errors and time * in LLF_RND_GetTrngSource() 371 /* Full restart TRNG */ in LLF_RND_GetTrngSource() 378 /*Note: in case of error the TRNG HW is still not started*/ in LLF_RND_GetTrngSource() 383 /* On continued mode check HW TRNG */ in LLF_RND_GetTrngSource() 385 /* check TRNG parameters */ in LLF_RND_GetTrngSource()
|
| D | llf_rnd_trng90b.c | 109 * The function checks that parameters, loaded in the TRNG HW 123 /* check Debug control - masked TRNG tests according to mode */ in LLF_RND_TRNG_CheckHwParams() 260 /* 2. Restart the TRNG and set parameters and enable the HW RND clock */ in startTrngHW() 361 /* Case of RND KAT or TRNG KAT testing */ in getTrngSource() 377 /* If not continued mode, set TRNG parameters and restart TRNG */ in getTrngSource() 381 /* Set instantiation, TRNG errors and time * in getTrngSource() 389 /* Full restart TRNG */ in getTrngSource() 397 /*Note: in case of error the TRNG HW is still not started*/ in getTrngSource() 402 /* On continued mode check HW TRNG */ in getTrngSource() 404 /* check TRNG parameters */ in getTrngSource()
|
| D | llf_rnd.h | 21 /* Definitions describing the TRNG Entropy estimator parameters: 67 * @param[in/out] trngParams - The pointer to structure, containing TRNG parameters. 93 * @param[in] TrngMode - TRNG mode: 0 - SWEE mode, 1 - FE mode.
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/shared/include/pal/ |
| D | cc_pal_trng.h | 14 @brief This file contains APIs for retrieving TRNG user parameters. 29 @brief The random-generator parameters of CryptoCell for TRNG mode. 71 /*! Specific parameters of the TRNG mode.*/ 81 @brief This function returns the TRNG user parameters. 87 /*! [out] A pointer to the TRNG user parameters. */ 89 /*! [in/out] A pointer to the size of the TRNG-user-parameters
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/ |
| D | cc_rnd_error.h | 48 /*! TRNG loss of samples. */ 50 /*! TRNG Time exceeded limitations. */ 52 /*! TRNG loss of samples and time exceeded limitations. */ 78 /*! TRNG errors. */ 90 /*! TRNG Known Answer Test not supported. */ 96 /*! TRNG mode mismatch between PAL and lib */
|
| /trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/include/ |
| D | cc3xx_psa_entropy.h | 26 * @brief Extract entropy from the CC3XX entropy source (TRNG) 28 * @param[in] flags Flags to be passed to the TRNG source 30 * @param[out] output Collected entropy from the TRNG source
|
| /trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/ |
| D | cc3xx_rng.h | 21 * @brief Get random bytes from the CC3XX TRNG. 26 * current TRNG entropy pool is depleted and more 39 * TRNG. The value is uniformly distributed
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/ |
| D | proj.ext.cfg | 10 # definitions for TRNG 11 # TRNG mode: 0 for FE TRNG, 1 for TRNG90B
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/ |
| D | cc_rng_plat.h | 17 /* Default TRNG parameters: used when in OTP set 0 in appropriate bits */ 35 * @brief The function retrievess the TRNG parameters, provided by the User trough NVM, 41 * of HW TRNG.
|
| D | cc_rng_plat.c | 29 * @brief The function retrievess the TRNG parameters, provided by the User trough NVM, 37 * of HW TRNG. 58 /* Set TRNG parameters */ in RNG_PLAT_SetUserRngParameters()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/pal/ |
| D | cc_pal_trng.c | 44 * @brief This function return the TRNG user parameters. 50 CCError_t CC_PalTrngParamGet(CC_PalTrngParams_t *pTrngParams, /*!< [out] A pointer to the TRNG user… in CC_PalTrngParamGet() 51 …size_t *pParamsSize) /*!< [in/out] A poiinter to size of the TRNG user parameters structure us… in CC_PalTrngParamGet()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/ |
| D | cc3xx_psa_entropy.h | 28 * \param[in] flags Flags to be passed to the TRNG source 30 * \param[out] output Collected entropy from the TRNG source
|
| /trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/src/ |
| D | cc3xx_psa_entropy.c | 22 * Entry points for entropy collection from the TRNG source as described by the 23 * PSA Cryptoprocessor Driver interface specification. The TRNG
|
| /trusted-firmware-m-latest/platform/ext/target/arm/corstone1000/ |
| D | cc3xx_config.h | 74 /* Whether an external TRNG should be used in place of the standard CC3XX TRNG */ 77 /* The number of times the TRNG will be re-read when it fails a statical test
|
| /trusted-firmware-m-latest/platform/ext/target/arm/musca_s1/cc312/ |
| D | cc3xx_config.h | 86 /* Whether an external TRNG should be used in place of the standard CC3XX TRNG */ 89 /* The number of times the TRNG will be re-read when it fails a statical test
|
| /trusted-firmware-m-latest/platform/ext/target/arm/rse/common/cc312/ |
| D | cc3xx_config.h | 86 /* Whether an external TRNG should be used in place of the standard CC3XX TRNG */ 91 /* The number of times the TRNG will be re-read when it fails a statical test
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
| D | cc3xx_psa_entropy.c | 25 * Entry points for entropy collection from the TRNG source as described by the 26 * PSA Cryptoprocessor Driver interface specification. The TRNG
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rnd_dma/local/ |
| D | cc_rnd_local.h | 45 - b`9,8: 0 - working mode, 1 - KAT DRBG mode, 2 - KAT TRNG mode, 3 - KAT 46 DRBG or/and TRNG mode */ 100 /* parameters defining TRNG */
|
| /trusted-firmware-m-latest/bl1/bl1_1/shared_lib/trng/ |
| D | trng_dummy.c | 8 #include "trng.h"
|
| /trusted-firmware-m-latest/platform/ext/target/arm/corstone1000/bl1/ |
| D | cc312_rom_trng.c | 8 #include "trng.h"
|
| /trusted-firmware-m-latest/platform/ext/target/arm/rse/common/bl1/ |
| D | cc312_rom_trng.c | 8 #include "trng.h"
|