Lines Matching refs:tempB
413 uint32_t tempB[8]; in ec_double() local
425 setZero(tempB, 8); in ec_double()
426 tempB[0] = 0x00000001; in ec_double()
427 fieldSub(tempA, tempB, ecc_prime_m, tempC); //tempC = (qx^2-1) in ec_double()
428 tempB[0] = 0x00000003; in ec_double()
429 fieldMult(tempC, tempB, tempD, arrayLength); in ec_double()
431 fieldAdd(py, py, ecc_prime_r, tempB); //tempB = 2*qy in ec_double()
432 fieldInv(tempB, ecc_prime_m, ecc_prime_r, tempC); //tempC = 1/(2*qy) in ec_double()
434 fieldModP(tempB, tempD); 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()
449 uint32_t tempB[8]; in ec_add() local
475 fieldSub(px, qx, ecc_prime_m, tempB); in ec_add()
476 fieldInv(tempB, ecc_prime_m, ecc_prime_r, tempB); in ec_add()
477 fieldMult(tempA, tempB, tempD, arrayLength); in ec_add()
482 fieldSub(tempA, px, ecc_prime_m, tempB); //lambda^2 - Px in ec_add()
483 fieldSub(tempB, qx, ecc_prime_m, Sx); //lambda^2 - Px - Qx in ec_add()
485 fieldSub(qx, Sx, ecc_prime_m, tempB); in ec_add()
486 fieldMult(tempC, tempB, tempD, arrayLength); in ec_add()