Home
last modified time | relevance | path

Searched refs:rndGenerateVectFunc (Results 1 – 22 of 22) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rnd_dma/
Dcc_rnd_common.c100 CCRndGenerateVectWorkFunc_t rndGenerateVectFunc) in CC_RndSetGenerateVectorFunc() argument
108 if (rndGenerateVectFunc == NULL) in CC_RndSetGenerateVectorFunc()
112 rndContext_ptr->rndGenerateVectFunc = rndGenerateVectFunc; in CC_RndSetGenerateVectorFunc()
203 RndGenerateVectFunc = rndContext_ptr->rndGenerateVectFunc; in CC_RndGenerateVectorInRange()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/
Dcc_rnd_common.h200 CCRndGenerateVectWorkFunc_t rndGenerateVectFunc; member
233 CCRndGenerateVectWorkFunc_t rndGenerateVectFunc
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_cc_srp.c154 (pCtx == NULL) || (pCtx->pRndCtx->rndGenerateVectFunc == NULL)) { in mbedtls_srp_pwd_ver_create()
160 rc = pRndCtx->rndGenerateVectFunc(pRndCtx->rndState, (unsigned char *)pSalt, saltSize); in mbedtls_srp_pwd_ver_create()
216 (pCtx == NULL) || (pCtx->pRndCtx->rndGenerateVectFunc == NULL)) { in mbedtls_srp_host_pub_key_create()
221 …rc = pRndCtx->rndGenerateVectFunc(pRndCtx->rndState, (unsigned char *)pCtx->ephemPriv, ephemPrivSi… in mbedtls_srp_host_pub_key_create()
347 (pCtx == NULL) || (pCtx->pRndCtx->rndGenerateVectFunc == NULL)) { in mbedtls_srp_user_pub_key_create()
352 …rc = pRndCtx->rndGenerateVectFunc(pRndCtx->rndState, (unsigned char *)pCtx->ephemPriv, ephemPrivSi… in mbedtls_srp_user_pub_key_create()
Dmbedtls_cc_ecies.c324 pRndContext->rndGenerateVectFunc = (CCRndGenerateVectWorkFunc_t)f_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/
Drun_integration_ecies.c104 …RUNIT_ASSERT(mbedtls_ecp_gen_keypair(pGrp, &d, pQ, gpRndContext->rndGenerateVectFunc, gpRndState) … in runIt_eciesRandom()
130 gpRndContext->rndGenerateVectFunc, in runIt_eciesRandom()
265 gpRndContext->rndGenerateVectFunc, in runIt_eciesVector()
Drun_integration_rsa.c545 …RUNIT_ASSERT_API(mbedtls_rsa_gen_key(pCtx, gpRndContext->rndGenerateVectFunc, gpRndState, nrbits, … in runIt_rsaGenKey()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/
Dcc_lib.c94 CCRndGenerateVectWorkFunc_t RndGenerateVectFunc = rndContext_ptr->rndGenerateVectFunc; in InitHukRma()
299 rndContext_ptr->rndGenerateVectFunc=NULL; in CC_LibFini()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/
Dcc_rsa_pkcs_ver15_util.c109 RndGenerateVectFunc = rndContext_ptr->rndGenerateVectFunc; in RsaGenRndNonZeroVect()
Dcc_rsa_kg.c66 if (rndContext_ptr->rndGenerateVectFunc == NULL) in KGCheckAndSetParamsRSA()
542 RndGenerateVectFunc = rndContext_ptr->rndGenerateVectFunc; in CC_RsaGenerateVectorInRangeX931()
Dcc_rsa_pss21_util.c312 RndGenerateVectFunc = rndContext_ptr->rndGenerateVectFunc; in RsaPssSign21()
Dcc_rsa_oaep.c97 RndGenerateVectFunc = rndContext_ptr->rndGenerateVectFunc; in RsaPssOaepEncode()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/
Drun_integration_helper.c222 … 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/
Dcc_ec_edw.c270 RndGenerateVectFunc = pRndContext->rndGenerateVectFunc; in CC_EcEdwKeyPair()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Dcc_ecp_internal.c371 pRndContext->rndGenerateVectFunc = (CCRndGenerateVectWorkFunc_t)f_rng; in ecp_mont_gen_keypair_base()
493 pRndContext->rndGenerateVectFunc = (CCRndGenerateVectWorkFunc_t)f_rng; in ecp_wrst_gen_keypair_base()
Decdsa_alt.c126 rnd_ctx.rndGenerateVectFunc = f_rng; in ecdsa_wrst_sign()
Drsa_alt.c674 ccRndCtx.rndGenerateVectFunc = f_rng; in mbedtls_rsa_validate_params_alt()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/dh/
Dcc_dh.c131 if (rndContext_ptr->rndGenerateVectFunc == NULL) in CC_DhGeneratePubPrv()
135 RndGenerateVectFunc = rndContext_ptr->rndGenerateVectFunc; in CC_DhGeneratePubPrv()
Dcc_dh_kg.c231 if (rndContext_ptr->rndGenerateVectFunc == NULL) in DhX942FindPrimeQ()
235 RndGenerateVectFunc = rndContext_ptr->rndGenerateVectFunc; in DhX942FindPrimeQ()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_mont/
Dcc_ec_mont.c273 RndGenerateVectFunc = pRndContext->rndGenerateVectFunc; in ecMontKeyPairBase()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffc_domain/
Dcc_ffc_domain.c389 RndGenerateVectFunc = pRndContext->rndGenerateVectFunc; in FfcFips186v4FindOrderQ()
826 …CHECK_AND_SET_ERROR((pRndContext->rndGenerateVectFunc == NULL), CC_FFC_DOMAIN_INVALID_RND_FUNCTION… in FfcDomainMinCheckInput()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffcdh/
Dcc_ffcdh.c985 RndGenerateVectFunc = pRndContext->rndGenerateVectFunc; in CC_FfcDhGeneratePublPrivKeys()
1518 RndGenerateVectFunc = pRndContext->rndGenerateVectFunc; in CC_FfcDhGenerateRandomNonce()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa_genkey.c1080 RndGenerateVectFunc = pRndContext->rndGenerateVectFunc; in PkaRsaKgFindPrime()