Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c20 load_4(const unsigned char *in) in load_4() function
33 uint64_t h0 = load_4(s); in fe_frombytes()
38 uint64_t h5 = load_4(s + 16); in fe_frombytes()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c24 load_4(const unsigned char *in) in load_4() function
1074 int64_t a1 = 2097151 & (load_4(a + 2) >> 5); in sc25519_muladd()
1076 int64_t a3 = 2097151 & (load_4(a + 7) >> 7); in sc25519_muladd()
1077 int64_t a4 = 2097151 & (load_4(a + 10) >> 4); in sc25519_muladd()
1079 int64_t a6 = 2097151 & (load_4(a + 15) >> 6); in sc25519_muladd()
1082 int64_t a9 = 2097151 & (load_4(a + 23) >> 5); in sc25519_muladd()
1084 int64_t a11 = (load_4(a + 28) >> 7); in sc25519_muladd()
1087 int64_t b1 = 2097151 & (load_4(b + 2) >> 5); in sc25519_muladd()
1089 int64_t b3 = 2097151 & (load_4(b + 7) >> 7); in sc25519_muladd()
1090 int64_t b4 = 2097151 & (load_4(b + 10) >> 4); in sc25519_muladd()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c789 static uint64_t load_4(const uint8_t *in) in load_4() function
803 int64_t h0 = load_4(s); in fe_frombytes()
808 int64_t h5 = load_4(s + 16); in fe_frombytes()
4628 int64_t s1 = kBottom21Bits & (load_4(s + 2) >> 5); in x25519_sc_reduce()
4630 int64_t s3 = kBottom21Bits & (load_4(s + 7) >> 7); in x25519_sc_reduce()
4631 int64_t s4 = kBottom21Bits & (load_4(s + 10) >> 4); in x25519_sc_reduce()
4633 int64_t s6 = kBottom21Bits & (load_4(s + 15) >> 6); in x25519_sc_reduce()
4636 int64_t s9 = kBottom21Bits & (load_4(s + 23) >> 5); in x25519_sc_reduce()
4638 int64_t s11 = kBottom21Bits & (load_4(s + 28) >> 7); in x25519_sc_reduce()
4639 int64_t s12 = kBottom21Bits & (load_4(s + 31) >> 4); in x25519_sc_reduce()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h8 int64_t h0 = load_4(s); in fe25519_frombytes()
13 int64_t h5 = load_4(s + 16); in fe25519_frombytes()