Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1153 int64_t carry16; in sc25519_muladd() local
1221 carry16 = (s16 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1222 s17 += carry16; in sc25519_muladd()
1223 s16 -= carry16 * ((uint64_t) 1L << 21); in sc25519_muladd()
1325 carry16 = (s16 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1326 s17 += carry16; in sc25519_muladd()
1327 s16 -= carry16 * ((uint64_t) 1L << 21); in sc25519_muladd()
1600 int64_t carry16; in sc25519_reduce() local
1659 carry16 = (s16 + (int64_t) (1L << 20)) >> 21; in sc25519_reduce()
1660 s17 += carry16; in sc25519_reduce()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c4667 int64_t carry16; in x25519_sc_reduce() local
4732 carry16 = (s16 + (1 << 20)) >> 21; in x25519_sc_reduce()
4733 s17 += carry16; in x25519_sc_reduce()
4734 s16 -= carry16 * (1 << 21); in x25519_sc_reduce()
5048 int64_t carry16; in sc_muladd() local
5105 carry16 = (s16 + (1 << 20)) >> 21; in sc_muladd()
5106 s17 += carry16; in sc_muladd()
5107 s16 -= carry16 * (1 << 21); in sc_muladd()
5215 carry16 = (s16 + (1 << 20)) >> 21; in sc_muladd()
5216 s17 += carry16; in sc_muladd()
[all …]