Lines Matching refs:fieldMult
159 static int fieldMult(const uint32_t *x, const uint32_t *y, uint32_t *result, uint8_t length){ in fieldMult() function
286 fieldMult(ecc_order_mu, q1_q3, q2_tmp, 9); in fieldModO()
292 fieldMult(q1_q3, ecc_order_m, q2_tmp, 8); in fieldModO()
423 fieldMult(px, px, tempD, arrayLength); in ec_double()
429 fieldMult(tempC, tempB, tempD, arrayLength); in ec_double()
433 fieldMult(tempA, tempC, tempD, arrayLength); //tempB = lambda = (3*(qx^2-1))/(2*qy) in ec_double()
436 fieldMult(tempB, tempB, tempD, arrayLength); //tempC = lambda^2 in ec_double()
442 fieldMult(tempB, tempA, tempD, arrayLength); //tempC = lambda * (qx-dx) in ec_double()
477 fieldMult(tempA, tempB, tempD, arrayLength); in ec_add()
480 fieldMult(tempC, tempC, tempD, arrayLength); //tempA = lambda^2 in ec_add()
486 fieldMult(tempC, tempB, tempD, arrayLength); in ec_add()
555 fieldMult(r, d, tmp1, arrayLength); in ecc_ecdsa_sign()
566 fieldMult(tmp2, tmp3, tmp1, arrayLength); in ecc_ecdsa_sign()
610 fieldMult(e, w, tmp, arrayLength); in ecc_ecdsa_validate()
614 fieldMult(r, w, tmp, arrayLength); in ecc_ecdsa_validate()
659 return fieldMult(x, y, result, length); in ecc_fieldMult()