Searched refs:fe25519 (Results 1 - 19 of 19) sorted by relevance

/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dconstants.h2 static const fe25519 d = {
9 static const fe25519 d2 = {
13 static const fe25519 sqrtm1 = {
18 static const fe25519 curve25519_A = {
H A Dfe.h6 fe25519_frombytes(fe25519 h, const unsigned char *s)
100 fe25519_reduce(fe25519 h, const fe25519 f)
183 fe25519_tobytes(unsigned char *s, const fe25519 h)
185 fe25519 t;
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_51/
H A Dconstants.h2 static const fe25519 d = {
9 static const fe25519 d2 = {
14 static const fe25519 sqrtm1 = {
19 static const fe25519 curve25519_A = {
H A Dfe.h6 fe25519_frombytes(fe25519 h, const unsigned char *s)
25 fe25519_reduce(fe25519 h, const fe25519 f)
102 fe25519_tobytes(unsigned char *s, const fe25519 h)
104 fe25519 t;
/freebsd-13-stable/crypto/openssh/
H A Dfe25519.h1 /* $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:__anon6855
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 *
[all...]
H A Dge25519.h12 #include "fe25519.h"
25 fe25519 x;
26 fe25519 y;
27 fe25519 z;
28 fe25519 t;
H A Dfe25519.c1 /* $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 *
[all...]
H A Dge25519.c11 #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...]
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Ded25519_ref10.h13 typedef uint64_t fe25519[5]; typedef
15 typedef int32_t fe25519[10]; typedef
18 void fe25519_invert(fe25519 out, const fe25519 z);
19 void fe25519_frombytes(fe25519 h, const unsigned char *s);
20 void fe25519_tobytes(unsigned char *s, const fe25519 h);
44 fe25519 X;
45 fe25519 Y;
46 fe25519 Z;
50 fe25519
[all...]
H A Ded25519_ref10_fe_51.h11 fe25519_0(fe25519 h)
21 fe25519_1(fe25519 h)
33 fe25519_add(fe25519 h, const fe25519 f, const fe25519 g)
53 fe25519_sub(fe25519 h, const fe25519 f, const fe25519 g)
93 fe25519_neg(fe25519 h, const fe25519
[all...]
H A Ded25519_ref10_fe_25_5.h11 fe25519_0(fe25519 h)
21 fe25519_1(fe25519 h)
41 fe25519_add(fe25519 h, const fe25519 f, const fe25519 g)
79 fe25519_sub(fe25519 h, const fe25519 f, const fe25519 g)
115 fe25519_neg(fe25519 h, const fe25519
[all...]
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/
H A Dx25519_ref10.c58 fe25519 x1;
59 fe25519 x2;
60 fe25519 z2;
61 fe25519 x3;
62 fe25519 z3;
63 fe25519 tmp0;
64 fe25519 tmp1;
122 edwards_to_montgomery(fe25519 montgomeryX, const fe25519 edwardsY, const fe25519 edwards
[all...]
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/crypto_sign/ed25519/ref10/
H A Dkeypair.c54 fe25519 x;
55 fe25519 one_minus_y;
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c54 fe25519_invert(fe25519 out, const fe25519 z)
56 fe25519 t0;
57 fe25519 t1;
58 fe25519 t2;
59 fe25519 t3;
112 fe25519_pow22523(fe25519 out, const fe25519 z)
114 fe25519 t0;
115 fe25519 t
[all...]
/freebsd-13-stable/crypto/openssh/regress/unittests/hostkeys/
H A DMakefile12 SRCS+=ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
/freebsd-13-stable/crypto/openssh/regress/unittests/sshkey/
H A DMakefile12 SRCS+=ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
/freebsd-13-stable/crypto/openssh/regress/unittests/kex/
H A DMakefile15 SRCS+=ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
/freebsd-13-stable/secure/lib/libssh/
H A DMakefile22 sc25519.c ge25519.c fe25519.c ed25519.c verify.c hash.c \
/freebsd-13-stable/crypto/openssh/regress/misc/kexfuzz/
H A DMakefile24 SRCS+=ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c

Completed in 90 milliseconds