Home
last modified time | relevance | path

Searched refs:carry8 (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h27 int64_t carry8; in fe25519_frombytes() local
58 carry8 = (h8 + (int64_t)(1L << 25)) >> 26; in fe25519_frombytes()
59 h9 += carry8; in fe25519_frombytes()
60 h8 -= carry8 * ((uint64_t) 1L << 26); in fe25519_frombytes()
114 int32_t carry0, carry1, carry2, carry3, carry4, carry5, carry6, carry7, carry8, carry9; in fe25519_reduce() local
156 carry8 = h8 >> 26; in fe25519_reduce()
157 h9 += carry8; in fe25519_reduce()
158 h8 -= carry8 * ((uint32_t) 1L << 26); in fe25519_reduce()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c51 uint64_t carry8; in fe_frombytes() local
64 carry8 = h8 >> 26; h9 += carry8; h8 &= 0x3FFFFFF; in fe_frombytes()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1145 int64_t carry8; in sc25519_muladd() local
1209 carry8 = (s8 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1210 s9 += carry8; in sc25519_muladd()
1211 s8 -= carry8 * ((uint64_t) 1L << 21); in sc25519_muladd()
1313 carry8 = (s8 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1314 s9 += carry8; in sc25519_muladd()
1315 s8 -= carry8 * ((uint64_t) 1L << 21); in sc25519_muladd()
1400 carry8 = (s8 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1401 s9 += carry8; in sc25519_muladd()
1402 s8 -= carry8 * ((uint64_t) 1L << 21); in sc25519_muladd()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c821 int64_t carry8; in fe_frombytes() local
834 carry8 = h8 + (1 << 25); h9 += carry8 >> 26; h8 -= carry8 & kTop38Bits; in fe_frombytes()
1199 int64_t carry8; in fe_mul() local
1236 carry8 = h8 + (1 << 25); h9 += carry8 >> 26; h8 -= carry8 & kTop38Bits; in fe_mul()
1373 int64_t carry8; in fe_sq() local
1389 carry8 = h8 + (1 << 25); h9 += carry8 >> 26; h8 -= carry8 & kTop38Bits; in fe_sq()
1682 int64_t carry8; in fe_sq2() local
1709 carry8 = h8 + (1 << 25); h9 += carry8 >> 26; h8 -= carry8 & kTop38Bits; in fe_sq2()
4350 int64_t carry8; in fe_mul121666() local
4363 carry8 = h8 + (1 << 25); h9 += carry8 >> 26; h8 -= carry8 & kTop38Bits; in fe_mul121666()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Ded25519_ref10_fe_25_5.h537 int64_t carry8; in fe25519_mul() local
594 carry8 = (h8 + (int64_t)(1L << 25)) >> 26; in fe25519_mul()
595 h9 += carry8; in fe25519_mul()
596 h8 -= carry8 * ((uint64_t) 1L << 26); in fe25519_mul()
740 int64_t carry8; in fe25519_sq() local
774 carry8 = (h8 + (int64_t)(1L << 25)) >> 26; in fe25519_sq()
775 h9 += carry8; in fe25519_sq()
776 h8 -= carry8 * ((uint64_t) 1L << 26); in fe25519_sq()
912 int64_t carry8; in fe25519_sq2() local
957 carry8 = (h8 + (int64_t)(1L << 25)) >> 26; in fe25519_sq2()
[all …]