/external/openssh/ |
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 14 #define fe25519 crypto_sign_ed25519_ref_fe25519 macro 36 fe25519; typedef in typeref:struct:__anon34713 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) [all...] |
ge25519.h | 12 #include "fe25519.h" 25 fe25519 x; 26 fe25519 y; 27 fe25519 z; 28 fe25519 t;
|
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 reduce_add_sub(fe25519 *r) 63 static void reduce_mul(fe25519 *r) 84 void fe25519_freeze(fe25519 *r) 100 void fe25519_unpack(fe25519 *r, const unsigned char x[32]) 108 void fe25519_pack(unsigned char r[32], const fe25519 *x) 111 fe25519 y = *x; 117 int fe25519_iszero(const fe25519 *x [all...] |
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 y [all...] |
Android.mk | 59 fe25519.c \
|