Lines Matching refs:arrayLength
110 assert(ecc_isSame(one, one, arrayLength)); in fieldAddTest()
112 assert(ecc_isSame(temp, one, arrayLength)); in fieldAddTest()
115 assert(ecc_isSame(temp, two, arrayLength)); in fieldAddTest()
118 assert(ecc_isSame(null, temp, arrayLength)); in fieldAddTest()
121 assert(ecc_isSame(temp, resultFullAdd, arrayLength)); in fieldAddTest()
125 assert(ecc_isSame(one, one, arrayLength)); in fieldSubTest()
127 assert(ecc_isSame(one, temp, arrayLength)); in fieldSubTest()
130 assert(ecc_isSame(null, temp, arrayLength)); in fieldSubTest()
133 assert(ecc_isSame(primeMinusOne, temp, arrayLength)); in fieldSubTest()
137 ecc_fieldMult(one, null, temp2, arrayLength); in fieldMultTest()
138 assert(ecc_isSame(temp2, null64, arrayLength * 2)); in fieldMultTest()
140 ecc_fieldMult(one, two, temp2, arrayLength); in fieldMultTest()
141 assert(ecc_isSame(temp2, two64, arrayLength * 2)); in fieldMultTest()
143 ecc_fieldMult(two, two, temp2, arrayLength); in fieldMultTest()
144 assert(ecc_isSame(temp2, four64, arrayLength * 2)); in fieldMultTest()
146 ecc_fieldMult(primeMinusOne, primeMinusOne, temp2, arrayLength); in fieldMultTest()
147 assert(ecc_isSame(temp2, resultQuadMod, arrayLength * 2)); in fieldMultTest()
150 ecc_fieldMult(temp, two, temp2, arrayLength); in fieldMultTest()
152 assert(ecc_isSame(temp, one, arrayLength)); in fieldMultTest()
156 ecc_fieldMult(primeMinusOne, primeMinusOne, temp2, arrayLength); in fieldModPTest()
158 assert(ecc_isSame(temp, one, arrayLength)); in fieldModPTest()
161 assert(ecc_isSame(temp, one, arrayLength)); in fieldModPTest()
163 ecc_fieldMult(two, primeMinusOne, temp2, arrayLength); in fieldModPTest()
165 assert(ecc_isSame(temp, resultDoubleMod, arrayLength)); in fieldModPTest()
173 ecc_fieldMult(orderMinusOne, orderMinusOne, temp2, arrayLength); in fieldModOTest()
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()
180 ecc_fieldMult(two, orderMinusOne, temp2, arrayLength); in fieldModOTest()
181 ecc_fieldModO(temp2, temp, arrayLength * 2); in fieldModOTest()
182 assert(ecc_isSame(temp, orderResultDoubleMod, arrayLength)); in fieldModOTest()
210 ecc_fieldMult(temp, two, temp2, arrayLength); in fieldInvTest()
212 assert(ecc_isSame(one, temp, arrayLength)); in fieldInvTest()
215 ecc_fieldMult(temp, eight, temp2, arrayLength); in fieldInvTest()
217 assert(ecc_isSame(one, temp, arrayLength)); in fieldInvTest()
220 ecc_fieldMult(temp, three, temp2, arrayLength); in fieldInvTest()
222 assert(ecc_isSame(one, temp, arrayLength)); in fieldInvTest()
225 ecc_fieldMult(temp, six, temp2, arrayLength); in fieldInvTest()
227 assert(ecc_isSame(one, temp, arrayLength)); in fieldInvTest()
230 ecc_fieldMult(temp, primeMinusOne, temp2, arrayLength); in fieldInvTest()
232 assert(ecc_isSame(one, temp, arrayLength)); in fieldInvTest()