Home
last modified time | relevance | path

Searched refs:load_4 (Results 1 – 5 of 5) 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/krb5/src/plugins/preauth/spake/
H A Dedwards25519.c205 static uint64_t load_4(const uint8_t *in) { in load_4() function
1053 int64_t s1 = 2097151 & (load_4(s + 2) >> 5); in x25519_sc_reduce()
1055 int64_t s3 = 2097151 & (load_4(s + 7) >> 7); in x25519_sc_reduce()
1056 int64_t s4 = 2097151 & (load_4(s + 10) >> 4); in x25519_sc_reduce()
1058 int64_t s6 = 2097151 & (load_4(s + 15) >> 6); in x25519_sc_reduce()
1061 int64_t s9 = 2097151 & (load_4(s + 23) >> 5); in x25519_sc_reduce()
1063 int64_t s11 = 2097151 & (load_4(s + 28) >> 7); in x25519_sc_reduce()
1064 int64_t s12 = 2097151 & (load_4(s + 31) >> 4); in x25519_sc_reduce()
1066 int64_t s14 = 2097151 & (load_4(s + 36) >> 6); in x25519_sc_reduce()
1069 int64_t s17 = 2097151 & (load_4(s + 44) >> 5); in x25519_sc_reduce()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c820 static uint64_t load_4(const uint8_t *in) in load_4() function
834 int64_t h0 = load_4(s); in fe_frombytes()
839 int64_t h5 = load_4(s + 16); in fe_frombytes()
4777 int64_t s1 = kBottom21Bits & (load_4(s + 2) >> 5); in x25519_sc_reduce()
4779 int64_t s3 = kBottom21Bits & (load_4(s + 7) >> 7); in x25519_sc_reduce()
4780 int64_t s4 = kBottom21Bits & (load_4(s + 10) >> 4); in x25519_sc_reduce()
4782 int64_t s6 = kBottom21Bits & (load_4(s + 15) >> 6); in x25519_sc_reduce()
4785 int64_t s9 = kBottom21Bits & (load_4(s + 23) >> 5); in x25519_sc_reduce()
4787 int64_t s11 = kBottom21Bits & (load_4(s + 28) >> 7); in x25519_sc_reduce()
4788 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()