Home
last modified time | relevance | path

Searched refs:pSalt (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_cc_srp.c142 uint8_t *pSalt, in mbedtls_srp_pwd_ver_create() argument
152 (pSalt == NULL) || in mbedtls_srp_pwd_ver_create()
160 rc = pRndCtx->rndGenerateVectFunc(pRndCtx->rndState, (unsigned char *)pSalt, saltSize); in mbedtls_srp_pwd_ver_create()
165 rc = SRP_xBuffCalc(pSalt, in mbedtls_srp_pwd_ver_create()
182 CC_PalMemSetZero(pSalt, saltSize); in mbedtls_srp_pwd_ver_create()
244 uint8_t *pSalt, in mbedtls_srp_host_proof_verify_and_calc() argument
259 (pSalt == NULL) || in mbedtls_srp_host_proof_verify_and_calc()
300 rc = SRP_UserProofCalc2(pSalt, saltSize, in mbedtls_srp_host_proof_verify_and_calc()
375 uint8_t *pSalt, in mbedtls_srp_user_proof_calc() argument
389 (pSalt == NULL) || in mbedtls_srp_user_proof_calc()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_srp.c89 uint8_t *pSalt = NULL; in runIt_srp() local
111 ALLOC(saltPtr, pSalt, saltSize); in runIt_srp()
156 … RUNIT_ASSERT_WITH_RESULT(mbedtls_srp_pwd_ver_create(saltSize, pSalt, pPwdVerifier, pUserCtx), 0); in runIt_srp()
165 …RUNIT_ASSERT_WITH_RESULT(mbedtls_srp_user_proof_calc(saltSize, pSalt, pPubKeyA, pPubKeyB, pU_Buff,… in runIt_srp()
168 …RUNIT_ASSERT_WITH_RESULT(mbedtls_srp_host_proof_verify_and_calc(saltSize, pSalt, pPwdVerifier, pPu… in runIt_srp()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Dsrp_driver.h28 uint32_t SRP_xBuffCalc(uint8_t *pSalt,
39 uint32_t SRP_UserProofCalc2(uint8_t *pSalt,
Dsrp_driver.c390 uint32_t SRP_xBuffCalc(uint8_t *pSalt, in SRP_xBuffCalc() argument
401 if ((pSalt == NULL) || in SRP_xBuffCalc()
422 rc = mbedtls_md_update(&hash_ctx, pSalt, saltSize); in SRP_xBuffCalc()
482 uint32_t SRP_UserProofCalc2(uint8_t *pSalt, in SRP_UserProofCalc2() argument
506 if ((pSalt == NULL) || in SRP_UserProofCalc2()
574 rc = mbedtls_md_update(md_ctx, pSalt, saltSize); in SRP_UserProofCalc2()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/
Dmbedtls_cc_srp.h245 uint8_t *pSalt,
302 uint8_t *pSalt,
356 uint8_t *pSalt,