Searched refs:fe25519_square (Results 1 – 3 of 3) sorted by relevance
/external/openssh/ |
D | fe25519.c | 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() [all …]
|
D | ge25519.c | 130 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()
|
D | fe25519.h | 28 #define fe25519_square crypto_sign_ed25519_ref_fe25519_square macro 64 void fe25519_square(fe25519 *r, const fe25519 *x);
|