Searched refs:fe25519_mul (Results 1 – 6 of 6) sorted by relevance
/external/openssh/ |
D | ge25519.c | 72 fe25519_mul(&r->x, &p->x, &p->t); in p1p1_to_p2() 73 fe25519_mul(&r->y, &p->y, &p->z); in p1p1_to_p2() 74 fe25519_mul(&r->z, &p->z, &p->t); in p1p1_to_p2() 80 fe25519_mul(&r->t, &p->x, &p->y); in p1p1_to_p3() 86 fe25519_mul(&qt, &q->x, &q->y); in ge25519_mixadd2() 91 fe25519_mul(&a, &a, &t1); in ge25519_mixadd2() 92 fe25519_mul(&b, &b, &t2); in ge25519_mixadd2() 95 fe25519_mul(&c, &r->t, &qt); /* C = T1*k*T2 */ in ge25519_mixadd2() 96 fe25519_mul(&c, &c, &ge25519_ec2d); in ge25519_mixadd2() 100 fe25519_mul(&r->x, &e, &f); in ge25519_mixadd2() [all …]
|
D | fe25519.c | 196 void fe25519_mul(fe25519 *r, const fe25519 *x, const fe25519 *y) in fe25519_mul() function 215 fe25519_mul(r, x, x); in fe25519_square() 235 /* 9 */ fe25519_mul(&z9,&t0,x); in fe25519_invert() 236 /* 11 */ fe25519_mul(&z11,&z9,&z2); in fe25519_invert() 238 /* 2^5 - 2^0 = 31 */ fe25519_mul(&z2_5_0,&t0,&z9); in fe25519_invert() 245 /* 2^10 - 2^0 */ fe25519_mul(&z2_10_0,&t0,&z2_5_0); in fe25519_invert() 250 /* 2^20 - 2^0 */ fe25519_mul(&z2_20_0,&t1,&z2_10_0); in fe25519_invert() 255 /* 2^40 - 2^0 */ fe25519_mul(&t0,&t1,&z2_20_0); in fe25519_invert() 260 /* 2^50 - 2^0 */ fe25519_mul(&z2_50_0,&t0,&z2_10_0); in fe25519_invert() 265 /* 2^100 - 2^0 */ fe25519_mul(&z2_100_0,&t1,&z2_50_0); in fe25519_invert() [all …]
|
D | fe25519.h | 27 #define fe25519_mul crypto_sign_ed25519_ref_fe25519_mul macro 62 void fe25519_mul(fe25519 *r, const fe25519 *x, const fe25519 *y);
|
/external/libwebsockets/plugins/ssh-base/crypto/ |
D | ge25519.c | 72 fe25519_mul(&r->x, &p->x, &p->t); in p1p1_to_p2() 73 fe25519_mul(&r->y, &p->y, &p->z); in p1p1_to_p2() 74 fe25519_mul(&r->z, &p->z, &p->t); in p1p1_to_p2() 80 fe25519_mul(&r->t, &p->x, &p->y); in p1p1_to_p3() 86 fe25519_mul(&qt, &q->x, &q->y); in ge25519_mixadd2() 91 fe25519_mul(&a, &a, &t1); in ge25519_mixadd2() 92 fe25519_mul(&b, &b, &t2); in ge25519_mixadd2() 95 fe25519_mul(&c, &r->t, &qt); /* C = T1*k*T2 */ in ge25519_mixadd2() 96 fe25519_mul(&c, &c, &ge25519_ec2d); in ge25519_mixadd2() 100 fe25519_mul(&r->x, &e, &f); in ge25519_mixadd2() [all …]
|
D | fe25519.c | 197 void fe25519_mul(fe25519 *r, const fe25519 *x, const fe25519 *y) in fe25519_mul() function 216 fe25519_mul(r, x, x); in fe25519_square() 236 /* 9 */ fe25519_mul(&z9,&t0,x); in fe25519_invert() 237 /* 11 */ fe25519_mul(&z11,&z9,&z2); in fe25519_invert() 239 /* 2^5 - 2^0 = 31 */ fe25519_mul(&z2_5_0,&t0,&z9); in fe25519_invert() 246 /* 2^10 - 2^0 */ fe25519_mul(&z2_10_0,&t0,&z2_5_0); in fe25519_invert() 251 /* 2^20 - 2^0 */ fe25519_mul(&z2_20_0,&t1,&z2_10_0); in fe25519_invert() 256 /* 2^40 - 2^0 */ fe25519_mul(&t0,&t1,&z2_20_0); in fe25519_invert() 261 /* 2^50 - 2^0 */ fe25519_mul(&z2_50_0,&t0,&z2_10_0); in fe25519_invert() 266 /* 2^100 - 2^0 */ fe25519_mul(&z2_100_0,&t1,&z2_50_0); in fe25519_invert() [all …]
|
D | fe25519.h | 25 #define fe25519_mul crypto_sign_ed25519_ref_fe25519_mul macro 60 void fe25519_mul(fe25519 *r, const fe25519 *x, const fe25519 *y);
|