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

/openbsd-current/usr.bin/signify/
H A Dsc25519.h1 /* $OpenBSD: sc25519.h,v 1.1 2014/07/22 00:41:19 deraadt Exp $ */
6 * Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.h
14 #define sc25519 crypto_sign_ed25519_ref_sc25519 macro
36 sc25519; typedef in typeref:struct:__anon10262
44 void sc25519_from32bytes(sc25519 *r, const unsigned char x[32]);
48 void sc25519_from64bytes(sc25519 *r, const unsigned char x[64]);
50 void sc25519_from_shortsc(sc25519 *r, const shortsc25519 *x);
52 void sc25519_to32bytes(unsigned char r[32], const sc25519 *x);
54 int sc25519_iszero_vartime(const sc25519 *x);
56 int sc25519_isshort_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 DMakefile5 SRCS+= fe25519.c sc25519.c
H A Dsc25519.c1 /* $OpenBSD: sc25519.c,v 1.1 2014/07/22 00:41:19 deraadt Exp $ */
6 * Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.c
9 #include "sc25519.h"
28 static void reduce_add_sub(sc25519 *r)
49 static void barrett_reduce(sc25519 *r, const crypto_uint32 x[64])
100 void sc25519_from32bytes(sc25519 *r, const unsigned char x[32])
115 void sc25519_from64bytes(sc25519 *r, const unsigned char x[64])
123 void sc25519_from_shortsc(sc25519 *r, const shortsc25519 *x)
132 void sc25519_to32bytes(unsigned char r[32], const sc25519 *x)
138 int sc25519_iszero_vartime(const sc25519 *
[all...]
H A Dmod_ed25519.c30 sc25519 scsk;
56 sc25519 sck, scs, scsk;
112 sc25519 schram, scs;
H A Dmod_ge25519.c10 #include "sc25519.h"
266 void ge25519_double_scalarmult_vartime(ge25519_p3 *r, const ge25519_p3 *p1, const sc25519 *s1, const ge25519_p3 *p2, const sc25519 *s2)
311 void ge25519_scalarmult_base(ge25519_p3 *r, const sc25519 *s)
/openbsd-current/distrib/special/signify/
H A DMakefile7 SRCS+= fe25519.c sc25519.c
/openbsd-current/usr.bin/ssh/
H A Ded25519.sh10 supercop-20221122/crypto_sign/ed25519/ref/sc25519.h
11 supercop-20221122/crypto_sign/ed25519/ref/sc25519.c
82 */crypto_sign/ed25519/ref/sc25519.h)
94 */crypto_sign/ed25519/ref/sc25519.c)
H A Ded25519.c454 /* from supercop-20221122/crypto_sign/ed25519/ref/sc25519.h */
459 #define sc25519 crypto_sign_ed25519_ref_sc25519 macro
473 sc25519; typedef in typeref:struct:__anon9
481 static void sc25519_from32bytes(sc25519 *r, const unsigned char x[32]);
484 static void sc25519_from64bytes(sc25519 *r, const unsigned char x[64]);
487 static void sc25519_to32bytes(unsigned char r[32], const sc25519 *x);
492 static void sc25519_add(sc25519 *r, const sc25519 *x, const sc25519 *y);
495 static void sc25519_mul(sc25519 *
[all...]

Completed in 133 milliseconds