Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1149 int64_t carry12; in sc25519_muladd() local
1215 carry12 = (s12 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1216 s13 += carry12; in sc25519_muladd()
1217 s12 -= carry12 * ((uint64_t) 1L << 21); in sc25519_muladd()
1319 carry12 = (s12 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1320 s13 += carry12; in sc25519_muladd()
1321 s12 -= carry12 * ((uint64_t) 1L << 21); in sc25519_muladd()
1596 int64_t carry12; in sc25519_reduce() local
1653 carry12 = (s12 + (int64_t) (1L << 20)) >> 21; in sc25519_reduce()
1654 s13 += carry12; in sc25519_reduce()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c4663 int64_t carry12; in x25519_sc_reduce() local
4726 carry12 = (s12 + (1 << 20)) >> 21; in x25519_sc_reduce()
4727 s13 += carry12; in x25519_sc_reduce()
4728 s12 -= carry12 * (1 << 21); in x25519_sc_reduce()
5044 int64_t carry12; in sc_muladd() local
5099 carry12 = (s12 + (1 << 20)) >> 21; in sc_muladd()
5100 s13 += carry12; in sc_muladd()
5101 s12 -= carry12 * (1 << 21); in sc_muladd()
5209 carry12 = (s12 + (1 << 20)) >> 21; in sc_muladd()
5210 s13 += carry12; in sc_muladd()
[all …]