Home
last modified time | relevance | path

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

/third_party/libwebsockets/plugins/ssh-base/crypto/
Dfe25519.c214 void fe25519_square(fe25519 *r, const fe25519 *x) in fe25519_square() function
233 /* 2 */ fe25519_square(&z2,x); in fe25519_invert()
234 /* 4 */ fe25519_square(&t1,&z2); in fe25519_invert()
235 /* 8 */ fe25519_square(&t0,&t1); in fe25519_invert()
238 /* 22 */ fe25519_square(&t0,&z11); in fe25519_invert()
241 /* 2^6 - 2^1 */ fe25519_square(&t0,&z2_5_0); in fe25519_invert()
242 /* 2^7 - 2^2 */ fe25519_square(&t1,&t0); in fe25519_invert()
243 /* 2^8 - 2^3 */ fe25519_square(&t0,&t1); in fe25519_invert()
244 /* 2^9 - 2^4 */ fe25519_square(&t1,&t0); in fe25519_invert()
245 /* 2^10 - 2^5 */ fe25519_square(&t0,&t1); in fe25519_invert()
[all …]
Dge25519.c130 fe25519_square(&a, &p->x); in dbl_p1p1()
131 fe25519_square(&b, &p->y); in dbl_p1p1()
132 fe25519_square(&c, &p->z); in dbl_p1p1()
137 fe25519_square(&r->x, &r->x); in dbl_p1p1()
203 fe25519_square(&num, &r->y); /* x = y^2 */ in ge25519_unpackneg_vartime()
210 fe25519_square(&den2, &den); in ge25519_unpackneg_vartime()
211 fe25519_square(&den4, &den2); in ge25519_unpackneg_vartime()
224 fe25519_square(&chk, &r->x); in ge25519_unpackneg_vartime()
230 fe25519_square(&chk, &r->x); in ge25519_unpackneg_vartime()
Dfe25519.h26 #define fe25519_square crypto_sign_ed25519_ref_fe25519_square macro
62 void fe25519_square(fe25519 *r, const fe25519 *x);