Searched refs:fe25519 (Results 1 – 6 of 6) sorted by relevance
/external/openssh/ |
D | fe25519.h | 14 #define fe25519 crypto_sign_ed25519_ref_fe25519 macro 36 fe25519; typedef 38 void fe25519_freeze(fe25519 *r); 40 void fe25519_unpack(fe25519 *r, const unsigned char x[32]); 42 void fe25519_pack(unsigned char r[32], const fe25519 *x); 44 int fe25519_iszero(const fe25519 *x); 46 int fe25519_iseq_vartime(const fe25519 *x, const fe25519 *y); 48 void fe25519_cmov(fe25519 *r, const fe25519 *x, unsigned char b); 50 void fe25519_setone(fe25519 *r); 52 void fe25519_setzero(fe25519 *r); [all …]
|
D | fe25519.c | 43 static void reduce_add_sub(fe25519 *r) in reduce_add_sub() 63 static void reduce_mul(fe25519 *r) in reduce_mul() 84 void fe25519_freeze(fe25519 *r) in fe25519_freeze() 100 void fe25519_unpack(fe25519 *r, const unsigned char x[32]) in fe25519_unpack() 108 void fe25519_pack(unsigned char r[32], const fe25519 *x) in fe25519_pack() 111 fe25519 y = *x; in fe25519_pack() 117 int fe25519_iszero(const fe25519 *x) in fe25519_iszero() 121 fe25519 t = *x; in fe25519_iszero() 129 int fe25519_iseq_vartime(const fe25519 *x, const fe25519 *y) in fe25519_iseq_vartime() 132 fe25519 t1 = *x; in fe25519_iseq_vartime() [all …]
|
D | ge25519.c | 22 static const fe25519 ge25519_ecd = {{0xA3, 0x78, 0x59, 0x13, 0xCA, 0x4D, 0xEB, 0x75, 0xAB, 0xD8, 0x… 25 static const fe25519 ge25519_ec2d = {{0x59, 0xF1, 0xB2, 0x26, 0x94, 0x9B, 0xD6, 0xEB, 0x56, 0xB1, 0… 28 static const fe25519 ge25519_sqrtm1 = {{0xB0, 0xA0, 0x0E, 0x4A, 0x27, 0x1B, 0xEE, 0xC4, 0x78, 0xE4,… 35 fe25519 x; 36 fe25519 z; 37 fe25519 y; 38 fe25519 t; 43 fe25519 x; 44 fe25519 y; 45 fe25519 z; [all …]
|
D | ge25519.h | 25 fe25519 x; 26 fe25519 y; 27 fe25519 z; 28 fe25519 t;
|
D | Android.mk | 38 fe25519.c \
|
/external/boringssl/src/crypto/curve25519/ |
D | x25519-x86_64.c | 32 typedef struct { uint64_t v[5]; } fe25519; typedef 35 void x25519_x86_64_work_cswap(fe25519 *, uint64_t); 36 void x25519_x86_64_mul(fe25519 *out, const fe25519 *a, const fe25519 *b); 37 void x25519_x86_64_square(fe25519 *out, const fe25519 *a); 38 void x25519_x86_64_freeze(fe25519 *); 39 void x25519_x86_64_ladderstep(fe25519 *work); 41 static void fe25519_setint(fe25519 *r, unsigned v) { in fe25519_setint() 50 static void fe25519_pack(unsigned char r[32], const fe25519 *x) { in fe25519_pack() 51 fe25519 t; in fe25519_pack() 97 static void fe25519_unpack(fe25519 *r, const uint8_t x[32]) { in fe25519_unpack() [all …]
|