Home
last modified time | relevance | path

Searched refs:z2_50_0 (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe51_invert.c21 fe51 z2_50_0; in fe51_invert() local
43 /* 2^50 - 2^0 */ fe51_mul(&z2_50_0,&t,&z2_10_0); in fe51_invert()
45 /* 2^100 - 2^50 */ fe51_nsquare(&t,&z2_50_0, 50); in fe51_invert()
46 /* 2^100 - 2^0 */ fe51_mul(&z2_100_0,&t,&z2_50_0); in fe51_invert()
52 /* 2^250 - 2^0 */ fe51_mul(&t,&t,&z2_50_0); in fe51_invert()
/freebsd-14.2/crypto/openssh/
H A Dsmult_curve25519_ref.c188 unsigned int z2_50_0[32]; in recip() local
222 /* 2^50 - 2^0 */ mult(z2_50_0,t0,z2_10_0); in recip()
224 /* 2^51 - 2^1 */ square(t0,z2_50_0); in recip()
227 /* 2^100 - 2^0 */ mult(z2_100_0,t1,z2_50_0); in recip()
237 /* 2^250 - 2^0 */ mult(t0,t1,z2_50_0); in recip()
H A Ded25519.c344 fe25519 z2_50_0; in fe25519_invert() local
378 /* 2^50 - 2^0 */ fe25519_mul(&z2_50_0,&t0,&z2_10_0); in fe25519_invert()
380 /* 2^51 - 2^1 */ fe25519_square(&t0,&z2_50_0); in fe25519_invert()
383 /* 2^100 - 2^0 */ fe25519_mul(&z2_100_0,&t1,&z2_50_0); in fe25519_invert()
393 /* 2^250 - 2^0 */ fe25519_mul(&t0,&t1,&z2_50_0); in fe25519_invert()
411 fe25519 z2_50_0; in fe25519_pow2523() local
438 /* 2^50 - 2^0 */ fe25519_mul(&z2_50_0,&t,&z2_10_0); in fe25519_pow2523()
440 /* 2^51 - 2^1 */ fe25519_square(&t,&z2_50_0); in fe25519_pow2523()
442 /* 2^100 - 2^0 */ fe25519_mul(&z2_100_0,&t,&z2_50_0); in fe25519_pow2523()
450 /* 2^250 - 2^0 */ fe25519_mul(&t,&t,&z2_50_0); in fe25519_pow2523()