Home
last modified time | relevance | path

Searched refs:fe25519 (Results 1 – 10 of 10) sorted by relevance

/f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/private/
H A Ded25519_ref10.h18 void fe25519_invert(fe25519 out, const fe25519 z);
44 fe25519 X;
45 fe25519 Y;
46 fe25519 Z;
50 fe25519 X;
51 fe25519 Y;
52 fe25519 Z;
53 fe25519 T;
57 fe25519 X;
58 fe25519 Y;
[all …]
H A Ded25519_ref10_fe_51.h11 fe25519_0(fe25519 h) in fe25519_0()
21 fe25519_1(fe25519 h) in fe25519_1()
33 fe25519_add(fe25519 h, const fe25519 f, const fe25519 g) in fe25519_add()
53 fe25519_sub(fe25519 h, const fe25519 f, const fe25519 g) in fe25519_sub()
93 fe25519_neg(fe25519 h, const fe25519 f) in fe25519_neg()
109 fe25519_cmov(fe25519 f, const fe25519 g, unsigned int b) in fe25519_cmov()
146 fe25519_cswap(fe25519 f, fe25519 g, unsigned int b) in fe25519_cswap()
192 fe25519_copy(fe25519 h, const fe25519 f) in fe25519_copy()
243 fe25519_mul(fe25519 h, const fe25519 f, const fe25519 g) in fe25519_mul()
334 fe25519_sq(fe25519 h, const fe25519 f) in fe25519_sq()
[all …]
H A Ded25519_ref10_fe_25_5.h11 fe25519_0(fe25519 h) in fe25519_0()
21 fe25519_1(fe25519 h) in fe25519_1()
41 fe25519_add(fe25519 h, const fe25519 f, const fe25519 g) in fe25519_add()
79 fe25519_sub(fe25519 h, const fe25519 f, const fe25519 g) in fe25519_sub()
115 fe25519_neg(fe25519 h, const fe25519 f) in fe25519_neg()
148 fe25519_cmov(fe25519 f, const fe25519 g, unsigned int b) in fe25519_cmov()
198 fe25519_cswap(fe25519 f, fe25519 g, unsigned int b) in fe25519_cswap()
274 fe25519_copy(fe25519 h, const fe25519 f) in fe25519_copy()
368 fe25519_mul(fe25519 h, const fe25519 f, const fe25519 g) in fe25519_mul()
638 fe25519_sq(fe25519 h, const fe25519 f) in fe25519_sq()
[all …]
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/
H A Dx25519_ref10.c58 fe25519 x1; in crypto_scalarmult_curve25519_ref10()
59 fe25519 x2; in crypto_scalarmult_curve25519_ref10()
60 fe25519 z2; in crypto_scalarmult_curve25519_ref10()
61 fe25519 x3; in crypto_scalarmult_curve25519_ref10()
62 fe25519 z3; in crypto_scalarmult_curve25519_ref10()
63 fe25519 tmp0; in crypto_scalarmult_curve25519_ref10()
64 fe25519 tmp1; in crypto_scalarmult_curve25519_ref10()
122 edwards_to_montgomery(fe25519 montgomeryX, const fe25519 edwardsY, const fe25519 edwardsZ) in edwards_to_montgomery()
124 fe25519 tempX; in edwards_to_montgomery()
125 fe25519 tempZ; in edwards_to_montgomery()
[all …]
/f-stack/freebsd/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) in fe25519_frombytes()
25 fe25519_reduce(fe25519 h, const fe25519 f) in fe25519_reduce()
102 fe25519_tobytes(unsigned char *s, const fe25519 h) in fe25519_tobytes()
104 fe25519 t; in fe25519_tobytes()
/f-stack/freebsd/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) in fe25519_frombytes()
100 fe25519_reduce(fe25519 h, const fe25519 f) in fe25519_reduce()
183 fe25519_tobytes(unsigned char *s, const fe25519 h) in fe25519_tobytes()
185 fe25519 t; in fe25519_tobytes()
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c54 fe25519_invert(fe25519 out, const fe25519 z) in fe25519_invert()
56 fe25519 t0; in fe25519_invert()
57 fe25519 t1; in fe25519_invert()
58 fe25519 t2; in fe25519_invert()
59 fe25519 t3; in fe25519_invert()
112 fe25519_pow22523(fe25519 out, const fe25519 z) in fe25519_pow22523()
114 fe25519 t0; in fe25519_pow22523()
115 fe25519 t1; in fe25519_pow22523()
116 fe25519 t2; in fe25519_pow22523()
234 fe25519 u; in ge25519_frombytes()
[all …]
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_sign/ed25519/ref10/
H A Dkeypair.c54 fe25519 x; in crypto_sign_ed25519_pk_to_curve25519()
55 fe25519 one_minus_y; in crypto_sign_ed25519_pk_to_curve25519()