Home
last modified time | relevance | path

Searched refs:carry7 (Results 1 – 5 of 5) 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.c820 int64_t carry7; in fe_frombytes() local
828 carry7 = h7 + (1 << 24); h8 += carry7 >> 25; h7 -= carry7 & kTop39Bits; in fe_frombytes()
1198 int64_t carry7; in fe_mul() local
1229 carry7 = h7 + (1 << 24); h8 += carry7 >> 25; h7 -= carry7 & kTop39Bits; in fe_mul()
1372 int64_t carry7; in fe_sq() local
1386 carry7 = h7 + (1 << 24); h8 += carry7 >> 25; h7 -= carry7 & kTop39Bits; in fe_sq()
1681 int64_t carry7; in fe_sq2() local
1706 carry7 = h7 + (1 << 24); h8 += carry7 >> 25; h7 -= carry7 & kTop39Bits; in fe_sq2()
4349 int64_t carry7; in fe_mul121666() local
4357 carry7 = h7 + (1 << 24); h8 += carry7 >> 25; h7 -= carry7 & kTop39Bits; in fe_mul121666()
[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 …]