Lines Matching refs:tempC
414 uint32_t tempC[8]; in ec_double() local
427 fieldSub(tempA, tempB, ecc_prime_m, tempC); //tempC = (qx^2-1) in ec_double()
429 fieldMult(tempC, tempB, tempD, arrayLength); in ec_double()
432 fieldInv(tempB, ecc_prime_m, ecc_prime_r, tempC); //tempC = 1/(2*qy) in ec_double()
433 fieldMult(tempA, tempC, tempD, arrayLength); //tempB = lambda = (3*(qx^2-1))/(2*qy) in ec_double()
437 fieldModP(tempC, tempD); in ec_double()
438 fieldSub(tempC, px, ecc_prime_m, tempA); //lambda^2 - Px in ec_double()
443 fieldModP(tempC, tempD); in ec_double()
444 fieldSub(tempC, py, ecc_prime_m, Dy); //Dy = lambda * (qx-dx) - px in ec_double()
450 uint32_t tempC[8]; in ec_add() local
478 fieldModP(tempC, tempD); //tempC = lambda in ec_add()
480 fieldMult(tempC, tempC, tempD, arrayLength); //tempA = lambda^2 in ec_add()
486 fieldMult(tempC, tempB, tempD, arrayLength); in ec_add()
487 fieldModP(tempC, tempD); in ec_add()
488 fieldSub(tempC, qy, ecc_prime_m, Sy); in ec_add()