Home
last modified time | relevance | path

Searched refs:sc25519 (Results 1 - 5 of 5) sorted by relevance

/third_party/libwebsockets/plugins/ssh-base/crypto/
H A Dsc25519.h1 /* $OpenBSD: sc25519.h,v 1.3 2013/12/09 11:03:45 markus Exp $ */
6 * Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.h
12 #define sc25519 crypto_sign_ed25519_ref_sc25519 macro
34 sc25519; typedef
42 void sc25519_from32bytes(sc25519 *r, const unsigned char x[32]);
46 void sc25519_from64bytes(sc25519 *r, const unsigned char x[64]);
48 void sc25519_from_shortsc(sc25519 *r, const shortsc25519 *x);
50 void sc25519_to32bytes(unsigned char r[32], const sc25519 *x);
52 int sc25519_iszero_vartime(const sc25519 *x);
54 int sc25519_isshort_vartime(const sc25519 *
[all...]
H A Dsc25519.c1 /* $OpenBSD: sc25519.c,v 1.3 2013/12/09 11:03:45 markus Exp $ */
6 * Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.c
11 #include "sc25519.h"
30 static void sc_reduce_add_sub(sc25519 *r) in sc_reduce_add_sub()
51 static void barrett_reduce(sc25519 *r, const uint32_t x[64]) in barrett_reduce()
102 void sc25519_from32bytes(sc25519 *r, const unsigned char x[32]) in sc25519_from32bytes()
117 void sc25519_from64bytes(sc25519 *r, const unsigned char x[64]) in sc25519_from64bytes()
125 void sc25519_from_shortsc(sc25519 *r, const shortsc25519 *x) in sc25519_from_shortsc()
134 void sc25519_to32bytes(unsigned char r[32], const sc25519 *x) in sc25519_to32bytes()
140 int sc25519_iszero_vartime(const sc25519 *
[all...]
H A Dge25519.h13 #include "sc25519.h"
39 void ge25519_double_scalarmult_vartime(ge25519 *r, const ge25519 *p1, const sc25519 *s1, const ge25519 *p2, const sc25519 *s2);
41 void ge25519_scalarmult_base(ge25519 *r, const sc25519 *s);
H A Ded25519.c59 sc25519 scsk; in crypto_sign_ed25519_keypair()
86 sc25519 sck, scs, scsk; in crypto_sign_ed25519()
182 sc25519 schram, scs; in crypto_sign_ed25519_open()
H A Dge25519.c12 #include "sc25519.h"
262 void ge25519_double_scalarmult_vartime(ge25519_p3 *r, const ge25519_p3 *p1, const sc25519 *s1, const ge25519_p3 *p2, const sc25519 *s2) in ge25519_double_scalarmult_vartime()
306 void ge25519_scalarmult_base(ge25519_p3 *r, const sc25519 *s) in ge25519_scalarmult_base()

Completed in 3 milliseconds