Searched refs:saltSize (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/ |
D | mbedtls_cc_srp.c | 141 size_t saltSize, in mbedtls_srp_pwd_ver_create() argument 151 if ((saltSize < CC_SRP_MIN_SALT_SIZE) || (saltSize > CC_SRP_MAX_SALT_SIZE) || in mbedtls_srp_pwd_ver_create() 160 rc = pRndCtx->rndGenerateVectFunc(pRndCtx->rndState, (unsigned char *)pSalt, saltSize); in mbedtls_srp_pwd_ver_create() 166 saltSize, in mbedtls_srp_pwd_ver_create() 182 CC_PalMemSetZero(pSalt, saltSize); in mbedtls_srp_pwd_ver_create() 243 size_t saltSize, in mbedtls_srp_host_proof_verify_and_calc() argument 258 if ((saltSize < CC_SRP_MIN_SALT_SIZE) || (saltSize > CC_SRP_MAX_SALT_SIZE) || in mbedtls_srp_host_proof_verify_and_calc() 300 rc = SRP_UserProofCalc2(pSalt, saltSize, in mbedtls_srp_host_proof_verify_and_calc() 374 size_t saltSize, in mbedtls_srp_user_proof_calc() argument 388 if ((saltSize < CC_SRP_MIN_SALT_SIZE) || (saltSize > CC_SRP_MAX_SALT_SIZE) || 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/ |
D | run_integration_srp.c | 63 static size_t saltSize = 16; 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() 191 … (uint32_t)userNameSize, (uint32_t)userPwdSize, (uint32_t)saltSize, (uint32_t)privKeySize); in runIt_srp()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/ |
D | srp_driver.h | 29 size_t saltSize, 40 size_t saltSize,
|
D | srp_driver.c | 391 size_t saltSize, in SRP_xBuffCalc() argument 402 (saltSize < CC_SRP_MIN_SALT_SIZE) || (saltSize > CC_SRP_MAX_SALT_SIZE) || in SRP_xBuffCalc() 422 rc = mbedtls_md_update(&hash_ctx, pSalt, saltSize); in SRP_xBuffCalc() 483 size_t saltSize, in SRP_UserProofCalc2() argument 507 (saltSize < CC_SRP_MIN_SALT_SIZE) || (saltSize > CC_SRP_MAX_SALT_SIZE) || 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/ |
D | mbedtls_cc_srp.h | 243 size_t saltSize, 300 size_t saltSize, 354 size_t saltSize,
|