Searched refs:ecc_prime_r (Results 1 – 4 of 4) sorted by relevance
/net-tools-2.7.6/tinydtls-0.8.2/ecc/ |
D | testfield.c | 111 ecc_fieldAdd(one, null, ecc_prime_r, temp); in fieldAddTest() 114 ecc_fieldAdd(one, one, ecc_prime_r, temp); in fieldAddTest() 120 ecc_fieldAdd(full, one, ecc_prime_r, temp); in fieldAddTest() 149 ecc_fieldInv(two, ecc_prime_m, ecc_prime_r, temp); in fieldMultTest() 209 ecc_fieldInv(two, ecc_prime_m, ecc_prime_r, temp); in fieldInvTest() 214 ecc_fieldInv(eight, ecc_prime_m, ecc_prime_r, temp); in fieldInvTest() 219 ecc_fieldInv(three, ecc_prime_m, ecc_prime_r, temp); in fieldInvTest() 224 ecc_fieldInv(six, ecc_prime_m, ecc_prime_r, temp); in fieldInvTest() 229 ecc_fieldInv(primeMinusOne, ecc_prime_m, ecc_prime_r, temp); in fieldInvTest()
|
D | ecc.c | 85 static const uint32_t ecc_prime_r[8] = {0x00000001, 0x00000000, 0x00000000, 0xffffffff, variable 195 fieldAdd(A,tempm,ecc_prime_r,tempm2); in fieldModP() 197 fieldAdd(tempm2,tempm,ecc_prime_r,A); in fieldModP() 203 fieldAdd(A,tempm,ecc_prime_r,tempm2); in fieldModP() 205 fieldAdd(tempm2,tempm,ecc_prime_r,A); in fieldModP() 211 fieldAdd(A,tempm,ecc_prime_r,tempm2); in fieldModP() 218 fieldAdd(tempm2,tempm,ecc_prime_r,A); in fieldModP() 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() 476 fieldInv(tempB, ecc_prime_m, ecc_prime_r, tempB); in ec_add()
|
D | test_helper.h | 41 extern const uint32_t ecc_prime_r[8];
|
D | test_helper.c | 66 const uint32_t ecc_prime_r[8] = {0x00000001, 0x00000000, 0x00000000, 0xffffffff, variable
|