/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/psa-adac/ |
D | adac_crypto_cc312_rng.c | 17 CCRndState_t rndState; in hardware_rng_poll() local 27 CC_PalMemSetZero(&rndState, sizeof(CCRndState_t)); in hardware_rng_poll() 38 &rndState, /*in/out*/ in hardware_rng_poll() 57 CC_PalMemSetZero(&rndState, sizeof(CCRndState_t)); in hardware_rng_poll()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_psa_entropy.c | 36 CCRndState_t rndState; in cc3xx_get_entropy() local 62 CC_PalMemSetZero(&rndState, sizeof(CCRndState_t)); in cc3xx_get_entropy() 72 cc_err = LLF_RND_GetTrngSource(&rndState, /*in/out*/ in cc3xx_get_entropy() 92 CC_PalMemSetZero(&rndState, sizeof(CCRndState_t)); in cc3xx_get_entropy()
|
D | cc3xx_internal_drbg_util.c | 69 rnd_ctx->rndState = &global_ctr_drbg_ctx; in cc3xx_ctr_drbg_get_ctx() 132 rnd_ctx->rndState = hmac_drbg_ctx; in cc3xx_hmac_drbg_get_ctx()
|
D | cc3xx_psa_init.c | 75 CC312_pRndCtx->rndState = CC312_pRndState; in cc3xx_init()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_productionlib/cmpu/ |
D | cmpu_llf_rnd.c | 45 CCRndState_t rndState; in CC_PROD_LLF_RND_GetTrngSource() local 53 error = LLF_RND_RunTrngStartupTest(&rndState, &trngParams, pRndWorkBuff); in CC_PROD_LLF_RND_GetTrngSource() 58 …error = LLF_RND_GetTrngSource(&rndState, &trngParams, CC_FALSE, NULL, ppSourceOut, pSourceOutSize,… in CC_PROD_LLF_RND_GetTrngSource()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | trng_api.c | 58 CCRndState_t rndState; in mbedtls_hardware_poll() local 88 CC_PalMemSetZero( &rndState, sizeof( CCRndState_t ) ); in mbedtls_hardware_poll() 99 &rndState , /*in/out*/ in mbedtls_hardware_poll() 123 mbedtls_zeroize_internal( &rndState, sizeof( CCRndState_t ) ); in mbedtls_hardware_poll()
|
D | platform_alt.c | 103 pPlatTestCtx->rndContext_ptr->rndState = (void *)(g_testHwRndCtxBaseAddr+sizeof(CCRndContext_t)); in mbedtls_platform_setup()
|
D | cc_ecp_internal.c | 372 pRndContext->rndState = p_rng; in ecp_mont_gen_keypair_base() 494 pRndContext->rndState = p_rng; in ecp_wrst_gen_keypair_base()
|
D | ecdsa_alt.c | 127 rnd_ctx.rndState = p_rng; in ecdsa_wrst_sign()
|
D | rsa_alt.c | 380 pRndContext->rndState = p_rng; in mbedtls_rsa_gen_key() 673 ccRndCtx.rndState = p_rng; in mbedtls_rsa_validate_params_alt() 1790 rndContext_ptr->rndState = p_rng; in mbedtls_rsa_rsaes_oaep_encrypt() 1910 rndContext_ptr->rndState = p_rng; in mbedtls_rsa_rsaes_pkcs1_v15_encrypt() 2321 rndContext.rndState = p_rng; in mbedtls_rsa_rsassa_pss_sign() 2420 rndContext.rndState = p_rng; in mbedtls_rsa_rsassa_pkcs1_v15_sign()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/ |
D | cc_lib.c | 47 CCRndState_t rndState; in RndStartupTest() local 74 error = LLF_RND_RunTrngStartupTest(&rndState, &trngParams, (uint32_t*)workBuff_ptr); in RndStartupTest() 99 error = RndGenerateVectFunc((void *)rndContext_ptr->rndState, in InitHukRma() 179 if (rndContext_ptr->rndState == NULL) in CC_LibInit() 247 mbedtls_ctr_drbg_init(rndContext_ptr->rndState); in CC_LibInit() 249 …error = mbedtls_ctr_drbg_seed(rndContext_ptr->rndState, mbedtls_entropy_func, rndContext_ptr->entr… in CC_LibInit() 300 mbedtls_ctr_drbg_free( rndContext_ptr->rndState ); in CC_LibFini()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/ |
D | cc_rnd_common.h | 194 void * rndState; member
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/proj/cc3x/cc312_r1/ |
D | test_proj_cclib.c | 27 gRndContext_ptr.rndState = threadArgs->p_rng; in Test_LibInit()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_cc_srp.c | 160 rc = pRndCtx->rndGenerateVectFunc(pRndCtx->rndState, (unsigned char *)pSalt, saltSize); in mbedtls_srp_pwd_ver_create() 221 …rc = pRndCtx->rndGenerateVectFunc(pRndCtx->rndState, (unsigned char *)pCtx->ephemPriv, ephemPrivSi… in mbedtls_srp_host_pub_key_create() 352 …rc = pRndCtx->rndGenerateVectFunc(pRndCtx->rndState, (unsigned char *)pCtx->ephemPriv, ephemPrivSi… in mbedtls_srp_user_pub_key_create()
|
D | mbedtls_cc_ecies.c | 325 pRndContext->rndState = p_rng; in mbedtls_ecies_kem_encrypt_full()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
D | run_integration_ecies.c | 131 gpRndContext->rndState) == 0); in runIt_eciesRandom() 266 gpRndContext->rndState) == 0); in runIt_eciesVector()
|
/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/ |
D | cc312.c | 80 CC312_pRndCtx->rndState = CC312_pRndState; in crypto_hw_accelerator_init()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/ |
D | cc_rsa_pkcs_ver15_util.c | 108 rndState_ptr = rndContext_ptr->rndState; in RsaGenRndNonZeroVect()
|
D | cc_rsa_pss21_util.c | 311 rndState_ptr = rndContext_ptr->rndState; in RsaPssSign21()
|
D | cc_rsa_kg.c | 541 rndState_ptr = rndContext_ptr->rndState; in CC_RsaGenerateVectorInRangeX931()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/ |
D | run_integration_test.c | 162 RunItPtr rndState; in runIt_init() local 177 ALLOC_STRUCT(mbedtls_ctr_drbg_context, rndState, pRndState); in runIt_init() 181 pRndContex->rndState = pRndState; in runIt_init() 187 gRunIt_rndState_ptr = rndState; in runIt_init()
|
D | run_integration_helper.c | 222 … if (gpRndContext->rndGenerateVectFunc(gpRndContext->rndState, pBuf + doneSize, chunkSize) == 0) in runIt_buildRandomBuffer()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_edw/ |
D | cc_ec_edw.c | 269 pRndState = (CCRndState_t *)(pRndContext->rndState); in CC_EcEdwKeyPair()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rnd_dma/ |
D | cc_rnd_common.c | 202 rndState_ptr = (CCRndState_t *)(rndContext_ptr->rndState); in CC_RndGenerateVectorInRange()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_mont/ |
D | cc_ec_mont.c | 278 (void *)pRndContext->rndState, in ecMontKeyPairBase()
|