Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h24 int64_t carry5; in fe25519_frombytes() local
39 carry5 = (h5 + (int64_t)(1L << 24)) >> 25; in fe25519_frombytes()
40 h6 += carry5; in fe25519_frombytes()
41 h5 -= carry5 * ((uint64_t) 1L << 25); in fe25519_frombytes()
114 int32_t carry0, carry1, carry2, carry3, carry4, carry5, carry6, carry7, carry8, carry9; in fe25519_reduce() local
147 carry5 = h5 >> 25; in fe25519_reduce()
148 h6 += carry5; in fe25519_reduce()
149 h5 -= carry5 * ((uint32_t) 1L << 25); in fe25519_reduce()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c48 uint64_t carry5; in fe_frombytes() local
57 carry5 = h5 >> 25; h6 += carry5; h5 &= 0x1FFFFFF; in fe_frombytes()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Ded25519_ref10_fe_25_5.h534 int64_t carry5; in fe25519_mul() local
561 carry5 = (h5 + (int64_t)(1L << 24)) >> 25; in fe25519_mul()
562 h6 += carry5; in fe25519_mul()
563 h5 -= carry5 * ((uint64_t) 1L << 25); in fe25519_mul()
737 int64_t carry5; in fe25519_sq() local
753 carry5 = (h5 + (int64_t)(1L << 24)) >> 25; in fe25519_sq()
754 h6 += carry5; in fe25519_sq()
755 h5 -= carry5 * ((uint64_t) 1L << 25); in fe25519_sq()
909 int64_t carry5; in fe25519_sq2() local
936 carry5 = (h5 + (int64_t)(1L << 24)) >> 25; in fe25519_sq2()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c818 int64_t carry5; in fe_frombytes() local
827 carry5 = h5 + (1 << 24); h6 += carry5 >> 25; h5 -= carry5 & kTop39Bits; in fe_frombytes()
1196 int64_t carry5; in fe_mul() local
1215 carry5 = h5 + (1 << 24); h6 += carry5 >> 25; h5 -= carry5 & kTop39Bits; in fe_mul()
1370 int64_t carry5; in fe_sq() local
1380 carry5 = h5 + (1 << 24); h6 += carry5 >> 25; h5 -= carry5 & kTop39Bits; in fe_sq()
1679 int64_t carry5; in fe_sq2() local
1700 carry5 = h5 + (1 << 24); h6 += carry5 >> 25; h5 -= carry5 & kTop39Bits; in fe_sq2()
4347 int64_t carry5; in fe_mul121666() local
4356 carry5 = h5 + (1 << 24); h6 += carry5 >> 25; h5 -= carry5 & kTop39Bits; in fe_mul121666()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1142 int64_t carry5; in sc25519_muladd() local
1240 carry5 = (s5 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1241 s6 += carry5; in sc25519_muladd()
1242 s5 -= carry5 * ((uint64_t) 1L << 21); in sc25519_muladd()
1413 carry5 = (s5 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1414 s6 += carry5; in sc25519_muladd()
1415 s5 -= carry5 * ((uint64_t) 1L << 21); in sc25519_muladd()
1449 carry5 = s5 >> 21; in sc25519_muladd()
1450 s6 += carry5; in sc25519_muladd()
1451 s5 -= carry5 * ((uint64_t) 1L << 21); in sc25519_muladd()
[all …]