Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h23 int64_t carry4; in fe25519_frombytes() local
52 carry4 = (h4 + (int64_t)(1L << 25)) >> 26; in fe25519_frombytes()
53 h5 += carry4; in fe25519_frombytes()
54 h4 -= carry4 * ((uint64_t) 1L << 26); in fe25519_frombytes()
114 int32_t carry0, carry1, carry2, carry3, carry4, carry5, carry6, carry7, carry8, carry9; in fe25519_reduce() local
144 carry4 = h4 >> 26; in fe25519_reduce()
145 h5 += carry4; in fe25519_reduce()
146 h4 -= carry4 * ((uint32_t) 1L << 26); in fe25519_reduce()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Ded25519_ref10_fe_25_5.h533 int64_t carry4; in fe25519_mul() local
550 carry4 = (h4 + (int64_t)(1L << 25)) >> 26; in fe25519_mul()
551 h5 += carry4; in fe25519_mul()
552 h4 -= carry4 * ((uint64_t) 1L << 26); in fe25519_mul()
591 carry4 = (h4 + (int64_t)(1L << 25)) >> 26; in fe25519_mul()
592 h5 += carry4; in fe25519_mul()
593 h4 -= carry4 * ((uint64_t) 1L << 26); in fe25519_mul()
736 int64_t carry4; in fe25519_sq() local
746 carry4 = (h4 + (int64_t)(1L << 25)) >> 26; in fe25519_sq()
747 h5 += carry4; in fe25519_sq()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c47 uint64_t carry4; in fe_frombytes() local
62 carry4 = h4 >> 26; h5 += carry4; h4 &= 0x3FFFFFF; in fe_frombytes()
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c817 int64_t carry4; in fe_frombytes() local
832 carry4 = h4 + (1 << 25); h5 += carry4 >> 26; h4 -= carry4 & kTop38Bits; in fe_frombytes()
1195 int64_t carry4; in fe_mul() local
1208 carry4 = h4 + (1 << 25); h5 += carry4 >> 26; h4 -= carry4 & kTop38Bits; in fe_mul()
1235 carry4 = h4 + (1 << 25); h5 += carry4 >> 26; h4 -= carry4 & kTop38Bits; in fe_mul()
1369 int64_t carry4; in fe_sq() local
1377 carry4 = h4 + (1 << 25); h5 += carry4 >> 26; h4 -= carry4 & kTop38Bits; in fe_sq()
1388 carry4 = h4 + (1 << 25); h5 += carry4 >> 26; h4 -= carry4 & kTop38Bits; in fe_sq()
1678 int64_t carry4; in fe_sq2() local
1697 carry4 = h4 + (1 << 25); h5 += carry4 >> 26; h4 -= carry4 & kTop38Bits; in fe_sq2()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1141 int64_t carry4; in sc25519_muladd() local
1203 carry4 = (s4 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1204 s5 += carry4; in sc25519_muladd()
1205 s4 -= carry4 * ((uint64_t) 1L << 21); in sc25519_muladd()
1394 carry4 = (s4 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1395 s5 += carry4; in sc25519_muladd()
1396 s4 -= carry4 * ((uint64_t) 1L << 21); in sc25519_muladd()
1446 carry4 = s4 >> 21; in sc25519_muladd()
1447 s5 += carry4; in sc25519_muladd()
1448 s4 -= carry4 * ((uint64_t) 1L << 21); in sc25519_muladd()
[all …]