Home
last modified time | relevance | path

Searched refs:carry4 (Results 1 – 6 of 6) 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.c848 int64_t carry4; in fe_frombytes() local
877 carry4 = h4 + (1 << 25); in fe_frombytes()
878 h5 += carry4 >> 26; in fe_frombytes()
879 h4 -= carry4 & kTop38Bits; in fe_frombytes()
1255 int64_t carry4; in fe_mul() local
1270 carry4 = h4 + (1 << 25); in fe_mul()
1271 h5 += carry4 >> 26; in fe_mul()
1272 h4 -= carry4 & kTop38Bits; in fe_mul()
1311 carry4 = h4 + (1 << 25); in fe_mul()
1312 h5 += carry4 >> 26; in fe_mul()
[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 …]
/freebsd/crypto/krb5/src/plugins/preauth/spake/
H A Dedwards25519.c1080 int64_t carry4; in x25519_sc_reduce() local
1231 carry4 = (s4 + (1 << 20)) >> 21; in x25519_sc_reduce()
1232 s5 += carry4; in x25519_sc_reduce()
1233 s4 -= int64_lshift21(carry4); in x25519_sc_reduce()
1283 carry4 = s4 >> 21; in x25519_sc_reduce()
1284 s5 += carry4; in x25519_sc_reduce()
1285 s4 -= int64_lshift21(carry4); in x25519_sc_reduce()
1328 carry4 = s4 >> 21; in x25519_sc_reduce()
1329 s5 += carry4; in x25519_sc_reduce()
1330 s4 -= int64_lshift21(carry4); in x25519_sc_reduce()