Home
last modified time | relevance | path

Searched refs:carry7 (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h26 int64_t carry7; in fe25519_frombytes() local
42 carry7 = (h7 + (int64_t)(1L << 24)) >> 25; in fe25519_frombytes()
43 h8 += carry7; in fe25519_frombytes()
44 h7 -= carry7 * ((uint64_t) 1L << 25); in fe25519_frombytes()
114 int32_t carry0, carry1, carry2, carry3, carry4, carry5, carry6, carry7, carry8, carry9; in fe25519_reduce() local
153 carry7 = h7 >> 25; in fe25519_reduce()
154 h8 += carry7; in fe25519_reduce()
155 h7 -= carry7 * ((uint32_t) 1L << 25); in fe25519_reduce()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c50 uint64_t carry7; in fe_frombytes() local
58 carry7 = h7 >> 25; h8 += carry7; h7 &= 0x1FFFFFF; in fe_frombytes()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1144 int64_t carry7; in sc25519_muladd() local
1243 carry7 = (s7 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1244 s8 += carry7; in sc25519_muladd()
1245 s7 -= carry7 * ((uint64_t) 1L << 21); in sc25519_muladd()
1329 carry7 = (s7 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1330 s8 += carry7; in sc25519_muladd()
1331 s7 -= carry7 * ((uint64_t) 1L << 21); in sc25519_muladd()
1416 carry7 = (s7 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1417 s8 += carry7; in sc25519_muladd()
1418 s7 -= carry7 * ((uint64_t) 1L << 21); in sc25519_muladd()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c851 int64_t carry7; in fe_frombytes() local
867 carry7 = h7 + (1 << 24); in fe_frombytes()
868 h8 += carry7 >> 25; in fe_frombytes()
869 h7 -= carry7 & kTop39Bits; in fe_frombytes()
1258 int64_t carry7; in fe_mul() local
1303 carry7 = h7 + (1 << 24); in fe_mul()
1304 h8 += carry7 >> 25; in fe_mul()
1305 h7 -= carry7 & kTop39Bits; in fe_mul()
1456 int64_t carry7; in fe_sq() local
1484 carry7 = h7 + (1 << 24); in fe_sq()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Ded25519_ref10_fe_25_5.h536 int64_t carry7; in fe25519_mul() local
583 carry7 = (h7 + (int64_t)(1L << 24)) >> 25; in fe25519_mul()
584 h8 += carry7; in fe25519_mul()
585 h7 -= carry7 * ((uint64_t) 1L << 25); in fe25519_mul()
739 int64_t carry7; in fe25519_sq() local
767 carry7 = (h7 + (int64_t)(1L << 24)) >> 25; in fe25519_sq()
768 h8 += carry7; in fe25519_sq()
769 h7 -= carry7 * ((uint64_t) 1L << 25); in fe25519_sq()
911 int64_t carry7; in fe25519_sq2() local
950 carry7 = (h7 + (int64_t)(1L << 24)) >> 25; in fe25519_sq2()
[all …]
/freebsd/crypto/krb5/src/plugins/preauth/spake/
H A Dedwards25519.c1083 int64_t carry7; in x25519_sc_reduce() local
1161 carry7 = (s7 + (1 << 20)) >> 21; in x25519_sc_reduce()
1162 s8 += carry7; in x25519_sc_reduce()
1163 s7 -= int64_lshift21(carry7); in x25519_sc_reduce()
1253 carry7 = (s7 + (1 << 20)) >> 21; in x25519_sc_reduce()
1254 s8 += carry7; in x25519_sc_reduce()
1255 s7 -= int64_lshift21(carry7); in x25519_sc_reduce()
1292 carry7 = s7 >> 21; in x25519_sc_reduce()
1293 s8 += carry7; in x25519_sc_reduce()
1294 s7 -= int64_lshift21(carry7); in x25519_sc_reduce()
[all …]