Searched refs:fe25519 (Results 1 - 4 of 4) sorted by relevance
/third_party/libwebsockets/plugins/ssh-base/crypto/ |
H A D | fe25519.h | 1 /* $OpenBSD: fe25519.h,v 1.3 2013/12/09 11:03:45 markus Exp $ */ 6 * Copied from supercop-20130419/crypto_sign/ed25519/ref/fe25519.h 12 #define fe25519 crypto_sign_ed25519_ref_fe25519 macro 34 fe25519; typedef 36 void fe25519_freeze(fe25519 *r); 38 void fe25519_unpack(fe25519 *r, const unsigned char x[32]); 40 void fe25519_pack(unsigned char r[32], const fe25519 *x); 42 int fe25519_iszero(const fe25519 *x); 44 int fe25519_iseq_vartime(const fe25519 *x, const fe25519 * [all...] |
H A D | fe25519.c | 1 /* $OpenBSD: fe25519.c,v 1.3 2013/12/09 11:03:45 markus Exp $ */ 6 * Copied from supercop-20130419/crypto_sign/ed25519/ref/fe25519.c 14 #include "fe25519.h" 43 static void fe_reduce_add_sub(fe25519 *r) in fe_reduce_add_sub() 63 static void reduce_mul(fe25519 *r) in reduce_mul() 84 void fe25519_freeze(fe25519 *r) in fe25519_freeze() 101 void fe25519_unpack(fe25519 *r, const unsigned char x[32]) in fe25519_unpack() 109 void fe25519_pack(unsigned char r[32], const fe25519 *x) in fe25519_pack() 112 fe25519 y = *x; in fe25519_pack() 118 int fe25519_iszero(const fe25519 * [all...] |
H A D | ge25519.c | 11 #include "fe25519.h" 22 static const fe25519 ge25519_ecd = {{0xA3, 0x78, 0x59, 0x13, 0xCA, 0x4D, 0xEB, 0x75, 0xAB, 0xD8, 0x41, 0x41, 0x4D, 0x0A, 0x70, 0x00, 25 static const fe25519 ge25519_ec2d = {{0x59, 0xF1, 0xB2, 0x26, 0x94, 0x9B, 0xD6, 0xEB, 0x56, 0xB1, 0x83, 0x82, 0x9A, 0x14, 0xE0, 0x00, 28 static const fe25519 ge25519_sqrtm1 = {{0xB0, 0xA0, 0x0E, 0x4A, 0x27, 0x1B, 0xEE, 0xC4, 0x78, 0xE4, 0x2F, 0xAD, 0x06, 0x18, 0x43, 0x2F, 35 fe25519 x; 36 fe25519 z; 37 fe25519 y; 38 fe25519 t; 43 fe25519 x; 44 fe25519 [all...] |
H A D | ge25519.h | 12 #include "fe25519.h" 25 fe25519 x; 26 fe25519 y; 27 fe25519 z; 28 fe25519 t;
|
Completed in 2 milliseconds