Home
last modified time | relevance | path

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

/netbsd/sys/external/isc/libsodium/dist/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()
/netbsd/sys/external/isc/libsodium/dist/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()
/netbsd/sys/external/isc/libsodium/dist/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1157 int64_t carry6; in sc25519_muladd() local
1221 s7 += carry6; in sc25519_muladd()
1325 s7 += carry6; in sc25519_muladd()
1412 s7 += carry6; in sc25519_muladd()
1467 s7 += carry6; in sc25519_muladd()
1511 s7 += carry6; in sc25519_muladd()
1604 int64_t carry6; in sc25519_reduce() local
1659 s7 += carry6; in sc25519_reduce()
1746 s7 += carry6; in sc25519_reduce()
1801 s7 += carry6; in sc25519_reduce()
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/ec/
H A Dcurve25519.c809 int64_t carry6; in fe_frombytes() local
823 carry6 = h6 + (1 << 25); h7 += carry6 >> 26; h6 -= carry6 & kTop38Bits; in fe_frombytes()
1187 int64_t carry6; in fe_mul() local
1212 carry6 = h6 + (1 << 25); h7 += carry6 >> 26; h6 -= carry6 & kTop38Bits; in fe_mul()
1361 int64_t carry6; in fe_sq() local
1373 carry6 = h6 + (1 << 25); h7 += carry6 >> 26; h6 -= carry6 & kTop38Bits; in fe_sq()
1670 int64_t carry6; in fe_sq2() local
1693 carry6 = h6 + (1 << 25); h7 += carry6 >> 26; h6 -= carry6 & kTop38Bits; in fe_sq2()
4352 carry6 = h6 + (1 << 25); h7 += carry6 >> 26; h6 -= carry6 & kTop38Bits; in fe_mul121666()
4708 s7 += carry6; in x25519_sc_reduce()
[all …]
/netbsd/crypto/external/bsd/openssl/dist/crypto/ec/
H A Dcurve25519.c819 int64_t carry6; in fe_frombytes() local
833 carry6 = h6 + (1 << 25); h7 += carry6 >> 26; h6 -= carry6 & kTop38Bits; in fe_frombytes()
1197 int64_t carry6; in fe_mul() local
1222 carry6 = h6 + (1 << 25); h7 += carry6 >> 26; h6 -= carry6 & kTop38Bits; in fe_mul()
1371 int64_t carry6; in fe_sq() local
1383 carry6 = h6 + (1 << 25); h7 += carry6 >> 26; h6 -= carry6 & kTop38Bits; in fe_sq()
1680 int64_t carry6; in fe_sq2() local
1703 carry6 = h6 + (1 << 25); h7 += carry6 >> 26; h6 -= carry6 & kTop38Bits; in fe_sq2()
4362 carry6 = h6 + (1 << 25); h7 += carry6 >> 26; h6 -= carry6 & kTop38Bits; in fe_mul121666()
4718 s7 += carry6; in x25519_sc_reduce()
[all …]
/netbsd/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/private/
H A Ded25519_ref10_fe_25_5.h535 int64_t carry6; in fe25519_mul() local
573 h7 += carry6; in fe25519_mul()
574 h6 -= carry6 * ((uint64_t) 1L << 26); in fe25519_mul()
738 int64_t carry6; in fe25519_sq() local
761 h7 += carry6; in fe25519_sq()
762 h6 -= carry6 * ((uint64_t) 1L << 26); in fe25519_sq()
910 int64_t carry6; in fe25519_sq2() local
944 h7 += carry6; in fe25519_sq2()
945 h6 -= carry6 * ((uint64_t) 1L << 26); in fe25519_sq2()
1034 h7 += carry6; in fe25519_scalar_product()
[all …]