Lines Matching refs:fe25519_square
213 void fe25519_square(fe25519 *r, const fe25519 *x) in fe25519_square() function
232 /* 2 */ fe25519_square(&z2,x); in fe25519_invert()
233 /* 4 */ fe25519_square(&t1,&z2); in fe25519_invert()
234 /* 8 */ fe25519_square(&t0,&t1); in fe25519_invert()
237 /* 22 */ fe25519_square(&t0,&z11); in fe25519_invert()
240 /* 2^6 - 2^1 */ fe25519_square(&t0,&z2_5_0); in fe25519_invert()
241 /* 2^7 - 2^2 */ fe25519_square(&t1,&t0); in fe25519_invert()
242 /* 2^8 - 2^3 */ fe25519_square(&t0,&t1); in fe25519_invert()
243 /* 2^9 - 2^4 */ fe25519_square(&t1,&t0); in fe25519_invert()
244 /* 2^10 - 2^5 */ fe25519_square(&t0,&t1); in fe25519_invert()
247 /* 2^11 - 2^1 */ fe25519_square(&t0,&z2_10_0); in fe25519_invert()
248 /* 2^12 - 2^2 */ fe25519_square(&t1,&t0); in fe25519_invert()
249 /* 2^20 - 2^10 */ for (i = 2;i < 10;i += 2) { fe25519_square(&t0,&t1); fe25519_square(&t1,&t0); } in fe25519_invert()
252 /* 2^21 - 2^1 */ fe25519_square(&t0,&z2_20_0); in fe25519_invert()
253 /* 2^22 - 2^2 */ fe25519_square(&t1,&t0); in fe25519_invert()
254 /* 2^40 - 2^20 */ for (i = 2;i < 20;i += 2) { fe25519_square(&t0,&t1); fe25519_square(&t1,&t0); } in fe25519_invert()
257 /* 2^41 - 2^1 */ fe25519_square(&t1,&t0); in fe25519_invert()
258 /* 2^42 - 2^2 */ fe25519_square(&t0,&t1); in fe25519_invert()
259 /* 2^50 - 2^10 */ for (i = 2;i < 10;i += 2) { fe25519_square(&t1,&t0); fe25519_square(&t0,&t1); } in fe25519_invert()
262 /* 2^51 - 2^1 */ fe25519_square(&t0,&z2_50_0); in fe25519_invert()
263 /* 2^52 - 2^2 */ fe25519_square(&t1,&t0); in fe25519_invert()
264 /* 2^100 - 2^50 */ for (i = 2;i < 50;i += 2) { fe25519_square(&t0,&t1); fe25519_square(&t1,&t0); } in fe25519_invert()
267 /* 2^101 - 2^1 */ fe25519_square(&t1,&z2_100_0); in fe25519_invert()
268 /* 2^102 - 2^2 */ fe25519_square(&t0,&t1); in fe25519_invert()
269 …/* 2^200 - 2^100 */ for (i = 2;i < 100;i += 2) { fe25519_square(&t1,&t0); fe25519_square(&t0,&t1);… in fe25519_invert()
272 /* 2^201 - 2^1 */ fe25519_square(&t0,&t1); in fe25519_invert()
273 /* 2^202 - 2^2 */ fe25519_square(&t1,&t0); in fe25519_invert()
274 /* 2^250 - 2^50 */ for (i = 2;i < 50;i += 2) { fe25519_square(&t0,&t1); fe25519_square(&t1,&t0); } in fe25519_invert()
277 /* 2^251 - 2^1 */ fe25519_square(&t1,&t0); in fe25519_invert()
278 /* 2^252 - 2^2 */ fe25519_square(&t0,&t1); in fe25519_invert()
279 /* 2^253 - 2^3 */ fe25519_square(&t1,&t0); in fe25519_invert()
280 /* 2^254 - 2^4 */ fe25519_square(&t0,&t1); in fe25519_invert()
281 /* 2^255 - 2^5 */ fe25519_square(&t1,&t0); in fe25519_invert()
298 /* 2 */ fe25519_square(&z2,x); in fe25519_pow2523()
299 /* 4 */ fe25519_square(&t,&z2); in fe25519_pow2523()
300 /* 8 */ fe25519_square(&t,&t); in fe25519_pow2523()
303 /* 22 */ fe25519_square(&t,&z11); in fe25519_pow2523()
306 /* 2^6 - 2^1 */ fe25519_square(&t,&z2_5_0); in fe25519_pow2523()
307 /* 2^10 - 2^5 */ for (i = 1;i < 5;i++) { fe25519_square(&t,&t); } in fe25519_pow2523()
310 /* 2^11 - 2^1 */ fe25519_square(&t,&z2_10_0); in fe25519_pow2523()
311 /* 2^20 - 2^10 */ for (i = 1;i < 10;i++) { fe25519_square(&t,&t); } in fe25519_pow2523()
314 /* 2^21 - 2^1 */ fe25519_square(&t,&z2_20_0); in fe25519_pow2523()
315 /* 2^40 - 2^20 */ for (i = 1;i < 20;i++) { fe25519_square(&t,&t); } in fe25519_pow2523()
318 /* 2^41 - 2^1 */ fe25519_square(&t,&t); in fe25519_pow2523()
319 /* 2^50 - 2^10 */ for (i = 1;i < 10;i++) { fe25519_square(&t,&t); } in fe25519_pow2523()
322 /* 2^51 - 2^1 */ fe25519_square(&t,&z2_50_0); in fe25519_pow2523()
323 /* 2^100 - 2^50 */ for (i = 1;i < 50;i++) { fe25519_square(&t,&t); } in fe25519_pow2523()
326 /* 2^101 - 2^1 */ fe25519_square(&t,&z2_100_0); in fe25519_pow2523()
327 /* 2^200 - 2^100 */ for (i = 1;i < 100;i++) { fe25519_square(&t,&t); } in fe25519_pow2523()
330 /* 2^201 - 2^1 */ fe25519_square(&t,&t); in fe25519_pow2523()
331 /* 2^250 - 2^50 */ for (i = 1;i < 50;i++) { fe25519_square(&t,&t); } in fe25519_pow2523()
334 /* 2^251 - 2^1 */ fe25519_square(&t,&t); in fe25519_pow2523()
335 /* 2^252 - 2^2 */ fe25519_square(&t,&t); in fe25519_pow2523()