Searched refs:groupParam (Results 1 – 4 of 4) sorted by relevance
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/srp/ |
D | srp.c | 42 genWord = pCtx->groupParam.gen; in SrpPwdVerifierCalc() 43 rc = PkaInitAndMutexLock(pCtx->groupParam.modSizeInBits, &pkaRegCount); in SrpPwdVerifierCalc() 48 …eByteBuffIntoPkaReg(rN, LEN_ID_MAX_BITS, pCtx->groupParam.modulus, CALC_FULL_32BIT_WORDS(pCtx->gro… in SrpPwdVerifierCalc() 49 rc = PkaCalcNpIntoPkaReg(LEN_ID_N_BITS, pCtx->groupParam.modSizeInBits, rN, rNp, rT2, rT3); in SrpPwdVerifierCalc() 53 pCtx->groupParam.validNp = SRP_NP_VALID; in SrpPwdVerifierCalc() 55 …PkaCopyDataFromPkaReg(pCtx->groupParam.Np, CALC_32BIT_WORDS_FROM_BYTES(sizeof(pCtx->groupParam.Np)… in SrpPwdVerifierCalc() 62 …PkaCopyPkaRegIntoBeByteBuff(pwdVerifier, CALC_FULL_32BIT_WORDS(pCtx->groupParam.modSizeInBits), rT… in SrpPwdVerifierCalc() 96 if (pCtx->groupParam.validNp != SRP_NP_VALID) { in SrpHostSharedSecretCalc() 99 rc = PkaInitAndMutexLock(pCtx->groupParam.modSizeInBits, &pkaRegCount); in SrpHostSharedSecretCalc() 104 …eByteBuffIntoPkaReg(rN, LEN_ID_MAX_BITS, pCtx->groupParam.modulus, CALC_FULL_32BIT_WORDS(pCtx->gro… in SrpHostSharedSecretCalc() [all …]
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/ |
D | srp_driver.c | 44 modSize = CALC_FULL_BYTES(pCtx->groupParam.modSizeInBits); in SRP_kMultiplierCalc() 60 rc = mbedtls_md_update(&hash_ctx, pCtx->groupParam.modulus, modSize); in SRP_kMultiplierCalc() 66 pCtx->ephemPriv[modSize-1] = pCtx->groupParam.gen; in SRP_kMultiplierCalc() 251 modSize = CALC_FULL_BYTES(pCtx->groupParam.modSizeInBits); in SRP_uScrambleCalc() 517 modSize = CALC_FULL_BYTES(pCtx->groupParam.modSizeInBits); in SRP_UserProofCalc2() 529 pCtx->groupParam.modulus, in SRP_UserProofCalc2() 530 CALC_FULL_BYTES(pCtx->groupParam.modSizeInBits), in SRP_UserProofCalc2() 538 &pCtx->groupParam.gen, in SRP_UserProofCalc2() 539 sizeof(pCtx->groupParam.gen), in SRP_UserProofCalc2() 652 …REMOVE_LEADING_BYTE_ZEROS((uint8_t *)userPubKeyA, CALC_FULL_BYTES(pCtx->groupParam.modSizeInBits),… in SRP_HostProofCalc()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_cc_srp.c | 99 pCtx->groupParam.gen = srpGen; in mbedtls_srp_init() 100 pCtx->groupParam.modSizeInBits = modSizeInBits; in mbedtls_srp_init() 101 CC_PalMemCopy(pCtx->groupParam.modulus, srpModulus, CALC_FULL_BYTES(modSizeInBits)); in mbedtls_srp_init() 292 CALC_FULL_BYTES(pCtx->groupParam.modSizeInBits), in mbedtls_srp_host_proof_verify_and_calc() 426 CALC_FULL_BYTES(pCtx->groupParam.modSizeInBits), in mbedtls_srp_user_proof_calc()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/ |
D | mbedtls_cc_srp.h | 168 mbedtls_srp_group_param groupParam; member
|