Lines Matching refs:temp

101 uint32_t temp[8];  variable
105 memset(temp, 0, sizeof(temp)); in nullEverything()
106 memset(temp2, 0, sizeof(temp)); in nullEverything()
111 ecc_fieldAdd(one, null, ecc_prime_r, temp); in fieldAddTest()
112 assert(ecc_isSame(temp, one, arrayLength)); in fieldAddTest()
114 ecc_fieldAdd(one, one, ecc_prime_r, temp); in fieldAddTest()
115 assert(ecc_isSame(temp, two, arrayLength)); in fieldAddTest()
117 ecc_add(full, one, temp, 32); in fieldAddTest()
118 assert(ecc_isSame(null, temp, arrayLength)); in fieldAddTest()
120 ecc_fieldAdd(full, one, ecc_prime_r, temp); in fieldAddTest()
121 assert(ecc_isSame(temp, resultFullAdd, arrayLength)); in fieldAddTest()
126 ecc_fieldSub(one, null, ecc_prime_m, temp); in fieldSubTest()
127 assert(ecc_isSame(one, temp, arrayLength)); in fieldSubTest()
129 ecc_fieldSub(one, one, ecc_prime_m, temp); in fieldSubTest()
130 assert(ecc_isSame(null, temp, arrayLength)); in fieldSubTest()
132 ecc_fieldSub(null, one, ecc_prime_m, temp); in fieldSubTest()
133 assert(ecc_isSame(primeMinusOne, temp, arrayLength)); in fieldSubTest()
149 ecc_fieldInv(two, ecc_prime_m, ecc_prime_r, temp); in fieldMultTest()
150 ecc_fieldMult(temp, two, temp2, arrayLength); in fieldMultTest()
151 ecc_fieldModP(temp, temp2); in fieldMultTest()
152 assert(ecc_isSame(temp, one, arrayLength)); in fieldMultTest()
157 ecc_fieldModP(temp, temp2); in fieldModPTest()
158 assert(ecc_isSame(temp, one, arrayLength)); in fieldModPTest()
160 ecc_fieldModP(temp, one64); in fieldModPTest()
161 assert(ecc_isSame(temp, one, arrayLength)); in fieldModPTest()
164 ecc_fieldModP(temp, temp2); in fieldModPTest()
165 assert(ecc_isSame(temp, resultDoubleMod, arrayLength)); in fieldModPTest()
174 ecc_fieldModO(temp2, temp, arrayLength * 2); in fieldModOTest()
175 assert(ecc_isSame(temp, one, arrayLength)); in fieldModOTest()
177 ecc_fieldModO(one64, temp, arrayLength * 2); in fieldModOTest()
178 assert(ecc_isSame(temp, one, arrayLength)); in fieldModOTest()
181 ecc_fieldModO(temp2, temp, arrayLength * 2); in fieldModOTest()
182 assert(ecc_isSame(temp, orderResultDoubleMod, arrayLength)); in fieldModOTest()
209 ecc_fieldInv(two, ecc_prime_m, ecc_prime_r, temp); in fieldInvTest()
210 ecc_fieldMult(temp, two, temp2, arrayLength); in fieldInvTest()
211 ecc_fieldModP(temp, temp2); in fieldInvTest()
212 assert(ecc_isSame(one, temp, arrayLength)); in fieldInvTest()
214 ecc_fieldInv(eight, ecc_prime_m, ecc_prime_r, temp); in fieldInvTest()
215 ecc_fieldMult(temp, eight, temp2, arrayLength); in fieldInvTest()
216 ecc_fieldModP(temp, temp2); in fieldInvTest()
217 assert(ecc_isSame(one, temp, arrayLength)); in fieldInvTest()
219 ecc_fieldInv(three, ecc_prime_m, ecc_prime_r, temp); in fieldInvTest()
220 ecc_fieldMult(temp, three, temp2, arrayLength); in fieldInvTest()
221 ecc_fieldModP(temp, temp2); in fieldInvTest()
222 assert(ecc_isSame(one, temp, arrayLength)); in fieldInvTest()
224 ecc_fieldInv(six, ecc_prime_m, ecc_prime_r, temp); in fieldInvTest()
225 ecc_fieldMult(temp, six, temp2, arrayLength); in fieldInvTest()
226 ecc_fieldModP(temp, temp2); in fieldInvTest()
227 assert(ecc_isSame(one, temp, arrayLength)); in fieldInvTest()
229 ecc_fieldInv(primeMinusOne, ecc_prime_m, ecc_prime_r, temp); in fieldInvTest()
230 ecc_fieldMult(temp, primeMinusOne, temp2, arrayLength); in fieldInvTest()
231 ecc_fieldModP(temp, temp2); in fieldInvTest()
232 assert(ecc_isSame(one, temp, arrayLength)); in fieldInvTest()