Home
last modified time | relevance | path

Searched refs:carry15 (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1152 int64_t carry15; in sc25519_muladd() local
1255 carry15 = (s15 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1256 s16 += carry15; in sc25519_muladd()
1257 s15 -= carry15 * ((uint64_t) 1L << 21); in sc25519_muladd()
1341 carry15 = (s15 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1342 s16 += carry15; in sc25519_muladd()
1343 s15 -= carry15 * ((uint64_t) 1L << 21); in sc25519_muladd()
1599 int64_t carry15; in sc25519_reduce() local
1675 carry15 = (s15 + (int64_t) (1L << 20)) >> 21; in sc25519_reduce()
1676 s16 += carry15; in sc25519_reduce()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c4666 int64_t carry15; in x25519_sc_reduce() local
4748 carry15 = (s15 + (1 << 20)) >> 21; in x25519_sc_reduce()
4749 s16 += carry15; in x25519_sc_reduce()
4750 s15 -= carry15 * (1 << 21); in x25519_sc_reduce()
5047 int64_t carry15; in sc_muladd() local
5139 carry15 = (s15 + (1 << 20)) >> 21; in sc_muladd()
5140 s16 += carry15; in sc_muladd()
5141 s15 -= carry15 * (1 << 21); in sc_muladd()
5231 carry15 = (s15 + (1 << 20)) >> 21; in sc_muladd()
5232 s16 += carry15; in sc_muladd()
[all …]