Lines Matching refs:tempA
412 uint32_t tempA[8]; in ec_double() local
424 fieldModP(tempA, tempD); in ec_double()
427 fieldSub(tempA, tempB, ecc_prime_m, tempC); //tempC = (qx^2-1) in ec_double()
430 fieldModP(tempA, tempD);//tempA = 3*(qx^2-1) in ec_double()
433 fieldMult(tempA, tempC, tempD, arrayLength); //tempB = lambda = (3*(qx^2-1))/(2*qy) in ec_double()
438 fieldSub(tempC, px, ecc_prime_m, tempA); //lambda^2 - Px in ec_double()
439 fieldSub(tempA, px, ecc_prime_m, Dx); //lambda^2 - Px - Qx in ec_double()
441 fieldSub(px, Dx, ecc_prime_m, tempA); //tempA = qx-dx in ec_double()
442 fieldMult(tempB, tempA, tempD, arrayLength); //tempC = lambda * (qx-dx) in ec_double()
448 uint32_t tempA[8]; in ec_add() local
474 fieldSub(py, qy, ecc_prime_m, tempA); in ec_add()
477 fieldMult(tempA, tempB, tempD, arrayLength); in ec_add()
481 fieldModP(tempA, tempD); in ec_add()
482 fieldSub(tempA, px, ecc_prime_m, tempB); //lambda^2 - Px in ec_add()