Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h28 int64_t carry9; in fe25519_frombytes() local
30 carry9 = (h9 + (int64_t)(1L << 24)) >> 25; in fe25519_frombytes()
31 h0 += carry9 * 19; in fe25519_frombytes()
32 h9 -= carry9 * ((uint64_t) 1L << 25); in fe25519_frombytes()
114 int32_t carry0, carry1, carry2, carry3, carry4, carry5, carry6, carry7, carry8, carry9; in fe25519_reduce() local
159 carry9 = h9 >> 25; in fe25519_reduce()
160 h9 -= carry9 * ((uint32_t) 1L << 25); in fe25519_reduce()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c52 uint64_t carry9; in fe_frombytes() local
54 carry9 = h9 >> 25; h0 += carry9 * 19; h9 &= 0x1FFFFFF; in fe_frombytes()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1146 int64_t carry9; in sc25519_muladd() local
1246 carry9 = (s9 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1247 s10 += carry9; in sc25519_muladd()
1248 s9 -= carry9 * ((uint64_t) 1L << 21); in sc25519_muladd()
1332 carry9 = (s9 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1333 s10 += carry9; in sc25519_muladd()
1334 s9 -= carry9 * ((uint64_t) 1L << 21); in sc25519_muladd()
1419 carry9 = (s9 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1420 s10 += carry9; in sc25519_muladd()
1421 s9 -= carry9 * ((uint64_t) 1L << 21); in sc25519_muladd()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c822 int64_t carry9; in fe_frombytes() local
824 carry9 = h9 + (1 << 24); h0 += (carry9 >> 25) * 19; h9 -= carry9 & kTop39Bits; in fe_frombytes()
1200 int64_t carry9; in fe_mul() local
1242 carry9 = h9 + (1 << 24); h0 += (carry9 >> 25) * 19; h9 -= carry9 & kTop39Bits; in fe_mul()
1374 int64_t carry9; in fe_sq() local
1391 carry9 = h9 + (1 << 24); h0 += (carry9 >> 25) * 19; h9 -= carry9 & kTop39Bits; in fe_sq()
1683 int64_t carry9; in fe_sq2() local
1711 carry9 = h9 + (1 << 24); h0 += (carry9 >> 25) * 19; h9 -= carry9 & kTop39Bits; in fe_sq2()
4351 int64_t carry9; in fe_mul121666() local
4353 carry9 = h9 + (1 << 24); h0 += (carry9 >> 25) * 19; h9 -= carry9 & kTop39Bits; in fe_mul121666()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Ded25519_ref10_fe_25_5.h538 int64_t carry9; in fe25519_mul() local
602 carry9 = (h9 + (int64_t)(1L << 24)) >> 25; in fe25519_mul()
603 h0 += carry9 * 19; in fe25519_mul()
604 h9 -= carry9 * ((uint64_t) 1L << 25); in fe25519_mul()
741 int64_t carry9; in fe25519_sq() local
778 carry9 = (h9 + (int64_t)(1L << 24)) >> 25; in fe25519_sq()
779 h0 += carry9 * 19; in fe25519_sq()
780 h9 -= carry9 * ((uint64_t) 1L << 25); in fe25519_sq()
913 int64_t carry9; in fe25519_sq2() local
961 carry9 = (h9 + (int64_t)(1L << 24)) >> 25; in fe25519_sq2()
[all …]