Home
last modified time | relevance | path

Searched refs:load_3 (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c10 load_3(const unsigned char *in) in load_3() function
34 uint64_t h1 = load_3(s + 4) << 6; in fe_frombytes()
35 uint64_t h2 = load_3(s + 7) << 5; in fe_frombytes()
36 uint64_t h3 = load_3(s + 10) << 3; in fe_frombytes()
37 uint64_t h4 = load_3(s + 13) << 2; in fe_frombytes()
39 uint64_t h6 = load_3(s + 20) << 7; in fe_frombytes()
40 uint64_t h7 = load_3(s + 23) << 5; in fe_frombytes()
41 uint64_t h8 = load_3(s + 26) << 4; in fe_frombytes()
42 uint64_t h9 = (load_3(s + 29) & 8388607) << 2; in fe_frombytes()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h9 int64_t h1 = load_3(s + 4) << 6; in fe25519_frombytes()
10 int64_t h2 = load_3(s + 7) << 5; in fe25519_frombytes()
11 int64_t h3 = load_3(s + 10) << 3; in fe25519_frombytes()
12 int64_t h4 = load_3(s + 13) << 2; in fe25519_frombytes()
14 int64_t h6 = load_3(s + 20) << 7; in fe25519_frombytes()
15 int64_t h7 = load_3(s + 23) << 5; in fe25519_frombytes()
16 int64_t h8 = load_3(s + 26) << 4; in fe25519_frombytes()
17 int64_t h9 = (load_3(s + 29) & 8388607) << 2; in fe25519_frombytes()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c12 load_3(const unsigned char *in) in load_3() function
1073 int64_t a0 = 2097151 & load_3(a); in sc25519_muladd()
1075 int64_t a2 = 2097151 & (load_3(a + 5) >> 2); in sc25519_muladd()
1081 int64_t a8 = 2097151 & load_3(a + 21); in sc25519_muladd()
1086 int64_t b0 = 2097151 & load_3(b); in sc25519_muladd()
1094 int64_t b8 = 2097151 & load_3(b + 21); in sc25519_muladd()
1099 int64_t c0 = 2097151 & load_3(c); in sc25519_muladd()
1107 int64_t c8 = 2097151 & load_3(c + 21); in sc25519_muladd()
1559 int64_t s0 = 2097151 & load_3(s); in sc25519_reduce()
1567 int64_t s8 = 2097151 & load_3(s + 21); in sc25519_reduce()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c779 static uint64_t load_3(const uint8_t *in) in load_3() function
804 int64_t h1 = load_3(s + 4) << 6; in fe_frombytes()
805 int64_t h2 = load_3(s + 7) << 5; in fe_frombytes()
806 int64_t h3 = load_3(s + 10) << 3; in fe_frombytes()
807 int64_t h4 = load_3(s + 13) << 2; in fe_frombytes()
809 int64_t h6 = load_3(s + 20) << 7; in fe_frombytes()
810 int64_t h7 = load_3(s + 23) << 5; in fe_frombytes()
811 int64_t h8 = load_3(s + 26) << 4; in fe_frombytes()
4627 int64_t s0 = kBottom21Bits & load_3(s); in x25519_sc_reduce()
4972 int64_t a0 = kBottom21Bits & load_3(a); in sc_muladd()
[all …]