Home
last modified time | relevance | path

Searched refs:ecc_prime_m (Results 1 – 4 of 4) sorted by relevance

/net-tools-2.7.6/tinydtls-0.8.2/ecc/
Dtestfield.c126 ecc_fieldSub(one, null, ecc_prime_m, temp); in fieldSubTest()
129 ecc_fieldSub(one, one, ecc_prime_m, temp); in fieldSubTest()
132 ecc_fieldSub(null, one, ecc_prime_m, temp); in fieldSubTest()
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()
Decc.c80 static const uint32_t ecc_prime_m[8] = {0xffffffff, 0xffffffff, 0xffffffff, 0x00000000, variable
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()
248 if(isGreater(A, ecc_prime_m, arrayLength) >= 0){ in fieldModP()
249 fieldSub(A, ecc_prime_m, ecc_prime_m, tempm); in fieldModP()
427 fieldSub(tempA, tempB, ecc_prime_m, tempC); //tempC = (qx^2-1) in ec_double()
432 fieldInv(tempB, ecc_prime_m, ecc_prime_r, tempC); //tempC = 1/(2*qy) in ec_double()
438 fieldSub(tempC, px, ecc_prime_m, tempA); //lambda^2 - Px in ec_double()
[all …]
Dtest_helper.h40 extern const uint32_t ecc_prime_m[8];
Dtest_helper.c61 const uint32_t ecc_prime_m[8] = {0xffffffff, 0xffffffff, 0xffffffff, 0x00000000, variable