Searched refs:fieldSub (Results 1 – 1 of 1) sorted by relevance
/net-tools-latest/tinydtls-0.8.2/ecc/ |
D | ecc.c | 147 static int fieldSub(const uint32_t *x, const uint32_t *y, const uint32_t *modulus, uint32_t *result… in fieldSub() function 225 fieldSub(A,tempm,ecc_prime_m,tempm2); in fieldModP() 232 fieldSub(tempm2,tempm,ecc_prime_m,A); in fieldModP() 239 fieldSub(A,tempm,ecc_prime_m,tempm2); in fieldModP() 247 fieldSub(tempm2,tempm,ecc_prime_m,A); in fieldModP() 249 fieldSub(A, ecc_prime_m, ecc_prime_m, tempm); in fieldModP() 395 fieldSub(x1,x2,modulus,tempm); /* tempm=x1-x2 */ in fieldInv() 400 fieldSub(x2,x1,modulus,tempm); /* tempm=x2-x1 */ in fieldInv() 427 fieldSub(tempA, tempB, ecc_prime_m, tempC); //tempC = (qx^2-1) in ec_double() 438 fieldSub(tempC, px, ecc_prime_m, tempA); //lambda^2 - Px in ec_double() [all …]
|