Searched refs:fieldMult (Results 1 – 1 of 1) sorted by relevance
/net-tools-latest/tinydtls-0.8.2/ecc/ |
D | ecc.c | 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() [all …]
|