usr.bin/signify/fe25519.c
106
void fe25519_pack(unsigned char r[32], const fe25519 *x)
usr.bin/signify/fe25519.c
109
fe25519 y = *x;
usr.bin/signify/fe25519.c
115
int fe25519_iszero(const fe25519 *x)
usr.bin/signify/fe25519.c
119
fe25519 t = *x;
usr.bin/signify/fe25519.c
127
int fe25519_iseq_vartime(const fe25519 *x, const fe25519 *y)
usr.bin/signify/fe25519.c
130
fe25519 t1 = *x;
usr.bin/signify/fe25519.c
131
fe25519 t2 = *y;
usr.bin/signify/fe25519.c
139
void fe25519_cmov(fe25519 *r, const fe25519 *x, unsigned char b)
usr.bin/signify/fe25519.c
147
unsigned char fe25519_getparity(const fe25519 *x)
usr.bin/signify/fe25519.c
149
fe25519 t = *x;
usr.bin/signify/fe25519.c
154
void fe25519_setone(fe25519 *r)
usr.bin/signify/fe25519.c
161
void fe25519_setzero(fe25519 *r)
usr.bin/signify/fe25519.c
167
void fe25519_neg(fe25519 *r, const fe25519 *x)
usr.bin/signify/fe25519.c
169
fe25519 t;
usr.bin/signify/fe25519.c
176
void fe25519_add(fe25519 *r, const fe25519 *x, const fe25519 *y)
usr.bin/signify/fe25519.c
183
void fe25519_sub(fe25519 *r, const fe25519 *x, const fe25519 *y)
usr.bin/signify/fe25519.c
194
void fe25519_mul(fe25519 *r, const fe25519 *x, const fe25519 *y)
usr.bin/signify/fe25519.c
211
void fe25519_square(fe25519 *r, const fe25519 *x)
usr.bin/signify/fe25519.c
216
void fe25519_invert(fe25519 *r, const fe25519 *x)
usr.bin/signify/fe25519.c
218
fe25519 z2;
usr.bin/signify/fe25519.c
219
fe25519 z9;
usr.bin/signify/fe25519.c
220
fe25519 z11;
usr.bin/signify/fe25519.c
221
fe25519 z2_5_0;
usr.bin/signify/fe25519.c
222
fe25519 z2_10_0;
usr.bin/signify/fe25519.c
223
fe25519 z2_20_0;
usr.bin/signify/fe25519.c
224
fe25519 z2_50_0;
usr.bin/signify/fe25519.c
225
fe25519 z2_100_0;
usr.bin/signify/fe25519.c
226
fe25519 t0;
usr.bin/signify/fe25519.c
227
fe25519 t1;
usr.bin/signify/fe25519.c
283
void fe25519_pow2523(fe25519 *r, const fe25519 *x)
usr.bin/signify/fe25519.c
285
fe25519 z2;
usr.bin/signify/fe25519.c
286
fe25519 z9;
usr.bin/signify/fe25519.c
287
fe25519 z11;
usr.bin/signify/fe25519.c
288
fe25519 z2_5_0;
usr.bin/signify/fe25519.c
289
fe25519 z2_10_0;
usr.bin/signify/fe25519.c
290
fe25519 z2_20_0;
usr.bin/signify/fe25519.c
291
fe25519 z2_50_0;
usr.bin/signify/fe25519.c
292
fe25519 z2_100_0;
usr.bin/signify/fe25519.c
293
fe25519 t;
usr.bin/signify/fe25519.c
41
static void reduce_add_sub(fe25519 *r)
usr.bin/signify/fe25519.c
61
static void reduce_mul(fe25519 *r)
usr.bin/signify/fe25519.c
82
void fe25519_freeze(fe25519 *r)
usr.bin/signify/fe25519.c
98
void fe25519_unpack(fe25519 *r, const unsigned char x[32])
usr.bin/signify/fe25519.h
38
void fe25519_freeze(fe25519 *r);
usr.bin/signify/fe25519.h
40
void fe25519_unpack(fe25519 *r, const unsigned char x[32]);
usr.bin/signify/fe25519.h
42
void fe25519_pack(unsigned char r[32], const fe25519 *x);
usr.bin/signify/fe25519.h
44
int fe25519_iszero(const fe25519 *x);
usr.bin/signify/fe25519.h
46
int fe25519_iseq_vartime(const fe25519 *x, const fe25519 *y);
usr.bin/signify/fe25519.h
48
void fe25519_cmov(fe25519 *r, const fe25519 *x, unsigned char b);
usr.bin/signify/fe25519.h
50
void fe25519_setone(fe25519 *r);
usr.bin/signify/fe25519.h
52
void fe25519_setzero(fe25519 *r);
usr.bin/signify/fe25519.h
54
void fe25519_neg(fe25519 *r, const fe25519 *x);
usr.bin/signify/fe25519.h
56
unsigned char fe25519_getparity(const fe25519 *x);
usr.bin/signify/fe25519.h
58
void fe25519_add(fe25519 *r, const fe25519 *x, const fe25519 *y);
usr.bin/signify/fe25519.h
60
void fe25519_sub(fe25519 *r, const fe25519 *x, const fe25519 *y);
usr.bin/signify/fe25519.h
62
void fe25519_mul(fe25519 *r, const fe25519 *x, const fe25519 *y);
usr.bin/signify/fe25519.h
64
void fe25519_square(fe25519 *r, const fe25519 *x);
usr.bin/signify/fe25519.h
66
void fe25519_invert(fe25519 *r, const fe25519 *x);
usr.bin/signify/fe25519.h
68
void fe25519_pow2523(fe25519 *r, const fe25519 *x);
usr.bin/signify/ge25519.h
25
fe25519 x;
usr.bin/signify/ge25519.h
26
fe25519 y;
usr.bin/signify/ge25519.h
27
fe25519 z;
usr.bin/signify/ge25519.h
28
fe25519 t;
usr.bin/signify/mod_ge25519.c
110
fe25519 a, b, c, d, t;
usr.bin/signify/mod_ge25519.c
131
fe25519 a,b,c,d;
usr.bin/signify/mod_ge25519.c
176
fe25519 v;
usr.bin/signify/mod_ge25519.c
20
static const fe25519 ge25519_ecd = {{0xA3, 0x78, 0x59, 0x13, 0xCA, 0x4D, 0xEB, 0x75, 0xAB, 0xD8, 0x41, 0x41, 0x4D, 0x0A, 0x70, 0x00,
usr.bin/signify/mod_ge25519.c
203
fe25519 t, chk, num, den, den2, den4, den6;
usr.bin/signify/mod_ge25519.c
23
static const fe25519 ge25519_ec2d = {{0x59, 0xF1, 0xB2, 0x26, 0x94, 0x9B, 0xD6, 0xEB, 0x56, 0xB1, 0x83, 0x82, 0x9A, 0x14, 0xE0, 0x00,
usr.bin/signify/mod_ge25519.c
249
fe25519 tx, ty, zi;
usr.bin/signify/mod_ge25519.c
26
static const fe25519 ge25519_sqrtm1 = {{0xB0, 0xA0, 0x0E, 0x4A, 0x27, 0x1B, 0xEE, 0xC4, 0x78, 0xE4, 0x2F, 0xAD, 0x06, 0x18, 0x43, 0x2F,
usr.bin/signify/mod_ge25519.c
33
fe25519 x;
usr.bin/signify/mod_ge25519.c
34
fe25519 z;
usr.bin/signify/mod_ge25519.c
35
fe25519 y;
usr.bin/signify/mod_ge25519.c
36
fe25519 t;
usr.bin/signify/mod_ge25519.c
41
fe25519 x;
usr.bin/signify/mod_ge25519.c
42
fe25519 y;
usr.bin/signify/mod_ge25519.c
43
fe25519 z;
usr.bin/signify/mod_ge25519.c
48
fe25519 x;
usr.bin/signify/mod_ge25519.c
49
fe25519 y;
usr.bin/signify/mod_ge25519.c
86
fe25519 a,b,t1,t2,c,d,e,f,g,h,qt;
usr.bin/ssh/ed25519.c
100
static int fe25519_iszero(const fe25519 *x);
usr.bin/ssh/ed25519.c
102
static int fe25519_iseq_vartime(const fe25519 *x, const fe25519 *y);
usr.bin/ssh/ed25519.c
104
static void fe25519_cmov(fe25519 *r, const fe25519 *x, unsigned char b);
usr.bin/ssh/ed25519.c
106
static void fe25519_setone(fe25519 *r);
usr.bin/ssh/ed25519.c
108
static void fe25519_setzero(fe25519 *r);
usr.bin/ssh/ed25519.c
110
static void fe25519_neg(fe25519 *r, const fe25519 *x);
usr.bin/ssh/ed25519.c
112
unsigned char fe25519_getparity(const fe25519 *x);
usr.bin/ssh/ed25519.c
114
static void fe25519_add(fe25519 *r, const fe25519 *x, const fe25519 *y);
usr.bin/ssh/ed25519.c
116
static void fe25519_sub(fe25519 *r, const fe25519 *x, const fe25519 *y);
usr.bin/ssh/ed25519.c
118
static void fe25519_mul(fe25519 *r, const fe25519 *x, const fe25519 *y);
usr.bin/ssh/ed25519.c
120
static void fe25519_square(fe25519 *r, const fe25519 *x);
usr.bin/ssh/ed25519.c
122
static void fe25519_invert(fe25519 *r, const fe25519 *x);
usr.bin/ssh/ed25519.c
124
static void fe25519_pow2523(fe25519 *r, const fe25519 *x);
usr.bin/ssh/ed25519.c
159
static void fe25519_reduce_add_sub(fe25519 *r)
usr.bin/ssh/ed25519.c
1672
fe25519 a,b,t1,t2,c,d,e,f,g,h,qt;
usr.bin/ssh/ed25519.c
1695
fe25519 a, b, c, d, t;
usr.bin/ssh/ed25519.c
1716
fe25519 a,b,c,d;
usr.bin/ssh/ed25519.c
1760
fe25519 v;
usr.bin/ssh/ed25519.c
1786
fe25519 t, chk, num, den, den2, den4, den6;
usr.bin/ssh/ed25519.c
179
static void reduce_mul(fe25519 *r)
usr.bin/ssh/ed25519.c
1832
fe25519 tx, ty, zi;
usr.bin/ssh/ed25519.c
200
static void fe25519_freeze(fe25519 *r)
usr.bin/ssh/ed25519.c
216
static void fe25519_unpack(fe25519 *r, const unsigned char x[32])
usr.bin/ssh/ed25519.c
224
static void fe25519_pack(unsigned char r[32], const fe25519 *x)
usr.bin/ssh/ed25519.c
227
fe25519 y = *x;
usr.bin/ssh/ed25519.c
233
static int fe25519_iszero(const fe25519 *x)
usr.bin/ssh/ed25519.c
237
fe25519 t = *x;
usr.bin/ssh/ed25519.c
245
static int fe25519_iseq_vartime(const fe25519 *x, const fe25519 *y)
usr.bin/ssh/ed25519.c
248
fe25519 t1 = *x;
usr.bin/ssh/ed25519.c
249
fe25519 t2 = *y;
usr.bin/ssh/ed25519.c
257
static void fe25519_cmov(fe25519 *r, const fe25519 *x, unsigned char b)
usr.bin/ssh/ed25519.c
265
unsigned char fe25519_getparity(const fe25519 *x)
usr.bin/ssh/ed25519.c
267
fe25519 t = *x;
usr.bin/ssh/ed25519.c
272
static void fe25519_setone(fe25519 *r)
usr.bin/ssh/ed25519.c
279
static void fe25519_setzero(fe25519 *r)
usr.bin/ssh/ed25519.c
285
static void fe25519_neg(fe25519 *r, const fe25519 *x)
usr.bin/ssh/ed25519.c
287
fe25519 t;
usr.bin/ssh/ed25519.c
294
static void fe25519_add(fe25519 *r, const fe25519 *x, const fe25519 *y)
usr.bin/ssh/ed25519.c
301
static void fe25519_sub(fe25519 *r, const fe25519 *x, const fe25519 *y)
usr.bin/ssh/ed25519.c
312
static void fe25519_mul(fe25519 *r, const fe25519 *x, const fe25519 *y)
usr.bin/ssh/ed25519.c
329
static void fe25519_square(fe25519 *r, const fe25519 *x)
usr.bin/ssh/ed25519.c
334
static void fe25519_invert(fe25519 *r, const fe25519 *x)
usr.bin/ssh/ed25519.c
336
fe25519 z2;
usr.bin/ssh/ed25519.c
337
fe25519 z9;
usr.bin/ssh/ed25519.c
338
fe25519 z11;
usr.bin/ssh/ed25519.c
339
fe25519 z2_5_0;
usr.bin/ssh/ed25519.c
340
fe25519 z2_10_0;
usr.bin/ssh/ed25519.c
341
fe25519 z2_20_0;
usr.bin/ssh/ed25519.c
342
fe25519 z2_50_0;
usr.bin/ssh/ed25519.c
343
fe25519 z2_100_0;
usr.bin/ssh/ed25519.c
344
fe25519 t0;
usr.bin/ssh/ed25519.c
345
fe25519 t1;
usr.bin/ssh/ed25519.c
401
static void fe25519_pow2523(fe25519 *r, const fe25519 *x)
usr.bin/ssh/ed25519.c
403
fe25519 z2;
usr.bin/ssh/ed25519.c
404
fe25519 z9;
usr.bin/ssh/ed25519.c
405
fe25519 z11;
usr.bin/ssh/ed25519.c
406
fe25519 z2_5_0;
usr.bin/ssh/ed25519.c
407
fe25519 z2_10_0;
usr.bin/ssh/ed25519.c
408
fe25519 z2_20_0;
usr.bin/ssh/ed25519.c
409
fe25519 z2_50_0;
usr.bin/ssh/ed25519.c
410
fe25519 z2_100_0;
usr.bin/ssh/ed25519.c
411
fe25519 t;
usr.bin/ssh/ed25519.c
732
fe25519 x;
usr.bin/ssh/ed25519.c
733
fe25519 y;
usr.bin/ssh/ed25519.c
734
fe25519 z;
usr.bin/ssh/ed25519.c
735
fe25519 t;
usr.bin/ssh/ed25519.c
760
static const fe25519 ge25519_ecd = {{0xA3, 0x78, 0x59, 0x13, 0xCA, 0x4D, 0xEB, 0x75, 0xAB, 0xD8, 0x41, 0x41, 0x4D, 0x0A, 0x70, 0x00,
usr.bin/ssh/ed25519.c
763
static const fe25519 ge25519_ec2d = {{0x59, 0xF1, 0xB2, 0x26, 0x94, 0x9B, 0xD6, 0xEB, 0x56, 0xB1, 0x83, 0x82, 0x9A, 0x14, 0xE0, 0x00,
usr.bin/ssh/ed25519.c
766
static const fe25519 ge25519_sqrtm1 = {{0xB0, 0xA0, 0x0E, 0x4A, 0x27, 0x1B, 0xEE, 0xC4, 0x78, 0xE4, 0x2F, 0xAD, 0x06, 0x18, 0x43, 0x2F,
usr.bin/ssh/ed25519.c
773
fe25519 x;
usr.bin/ssh/ed25519.c
774
fe25519 z;
usr.bin/ssh/ed25519.c
775
fe25519 y;
usr.bin/ssh/ed25519.c
776
fe25519 t;
usr.bin/ssh/ed25519.c
781
fe25519 x;
usr.bin/ssh/ed25519.c
782
fe25519 y;
usr.bin/ssh/ed25519.c
783
fe25519 z;
usr.bin/ssh/ed25519.c
788
fe25519 x;
usr.bin/ssh/ed25519.c
789
fe25519 y;
usr.bin/ssh/ed25519.c
94
static void fe25519_freeze(fe25519 *r);
usr.bin/ssh/ed25519.c
96
static void fe25519_unpack(fe25519 *r, const unsigned char x[32]);
usr.bin/ssh/ed25519.c
98
static void fe25519_pack(unsigned char r[32], const fe25519 *x);