Home
last modified time | relevance | path

Searched refs:carry6 (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h25 int64_t carry6; in fe25519_frombytes() local
55 carry6 = (h6 + (int64_t)(1L << 25)) >> 26; in fe25519_frombytes()
56 h7 += carry6; in fe25519_frombytes()
57 h6 -= carry6 * ((uint64_t) 1L << 26); in fe25519_frombytes()
114 int32_t carry0, carry1, carry2, carry3, carry4, carry5, carry6, carry7, carry8, carry9; in fe25519_reduce() local
150 carry6 = h6 >> 26; in fe25519_reduce()
151 h7 += carry6; in fe25519_reduce()
152 h6 -= carry6 * ((uint32_t) 1L << 26); in fe25519_reduce()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c49 uint64_t carry6; in fe_frombytes() local
63 carry6 = h6 >> 26; h7 += carry6; h6 &= 0x3FFFFFF; in fe_frombytes()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1143 int64_t carry6; in sc25519_muladd() local
1206 carry6 = (s6 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1207 s7 += carry6; in sc25519_muladd()
1208 s6 -= carry6 * ((uint64_t) 1L << 21); in sc25519_muladd()
1310 carry6 = (s6 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1311 s7 += carry6; in sc25519_muladd()
1312 s6 -= carry6 * ((uint64_t) 1L << 21); in sc25519_muladd()
1397 carry6 = (s6 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1398 s7 += carry6; in sc25519_muladd()
1399 s6 -= carry6 * ((uint64_t) 1L << 21); in sc25519_muladd()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c850 int64_t carry6; in fe_frombytes() local
880 carry6 = h6 + (1 << 25); in fe_frombytes()
881 h7 += carry6 >> 26; in fe_frombytes()
882 h6 -= carry6 & kTop38Bits; in fe_frombytes()
1257 int64_t carry6; in fe_mul() local
1292 carry6 = h6 + (1 << 25); in fe_mul()
1293 h7 += carry6 >> 26; in fe_mul()
1294 h6 -= carry6 & kTop38Bits; in fe_mul()
1455 int64_t carry6; in fe_sq() local
1477 carry6 = h6 + (1 << 25); in fe_sq()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Ded25519_ref10_fe_25_5.h535 int64_t carry6; in fe25519_mul() local
572 carry6 = (h6 + (int64_t)(1L << 25)) >> 26; in fe25519_mul()
573 h7 += carry6; in fe25519_mul()
574 h6 -= carry6 * ((uint64_t) 1L << 26); in fe25519_mul()
738 int64_t carry6; in fe25519_sq() local
760 carry6 = (h6 + (int64_t)(1L << 25)) >> 26; in fe25519_sq()
761 h7 += carry6; in fe25519_sq()
762 h6 -= carry6 * ((uint64_t) 1L << 26); in fe25519_sq()
910 int64_t carry6; in fe25519_sq2() local
943 carry6 = (h6 + (int64_t)(1L << 25)) >> 26; in fe25519_sq2()
[all …]
/freebsd/crypto/krb5/src/plugins/preauth/spake/
H A Dedwards25519.c1082 int64_t carry6; in x25519_sc_reduce() local
1142 carry6 = (s6 + (1 << 20)) >> 21; in x25519_sc_reduce()
1143 s7 += carry6; in x25519_sc_reduce()
1144 s6 -= int64_lshift21(carry6); in x25519_sc_reduce()
1234 carry6 = (s6 + (1 << 20)) >> 21; in x25519_sc_reduce()
1235 s7 += carry6; in x25519_sc_reduce()
1236 s6 -= int64_lshift21(carry6); in x25519_sc_reduce()
1289 carry6 = s6 >> 21; in x25519_sc_reduce()
1290 s7 += carry6; in x25519_sc_reduce()
1291 s6 -= int64_lshift21(carry6); in x25519_sc_reduce()
[all …]