Home
last modified time | relevance | path

Searched refs:carry0 (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h19 int64_t carry0; in fe25519_frombytes() local
46 carry0 = (h0 + (int64_t)(1L << 25)) >> 26; in fe25519_frombytes()
47 h1 += carry0; in fe25519_frombytes()
48 h0 -= carry0 * ((uint64_t) 1L << 26); in fe25519_frombytes()
114 int32_t carry0, carry1, carry2, carry3, carry4, carry5, carry6, carry7, carry8, carry9; in fe25519_reduce() local
132 carry0 = h0 >> 26; in fe25519_reduce()
133 h1 += carry0; in fe25519_reduce()
134 h0 -= carry0 * ((uint32_t) 1L << 26); in fe25519_reduce()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Ded25519_ref10_fe_25_5.h529 int64_t carry0; in fe25519_mul() local
547 carry0 = (h0 + (int64_t)(1L << 25)) >> 26; in fe25519_mul()
548 h1 += carry0; in fe25519_mul()
549 h0 -= carry0 * ((uint64_t) 1L << 26); in fe25519_mul()
608 carry0 = (h0 + (int64_t)(1L << 25)) >> 26; in fe25519_mul()
609 h1 += carry0; in fe25519_mul()
610 h0 -= carry0 * ((uint64_t) 1L << 26); in fe25519_mul()
732 int64_t carry0; in fe25519_sq() local
743 carry0 = (h0 + (int64_t)(1L << 25)) >> 26; in fe25519_sq()
744 h1 += carry0; in fe25519_sq()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c43 uint64_t carry0; in fe_frombytes() local
60 carry0 = h0 >> 26; h1 += carry0; h0 &= 0x3FFFFFF; in fe_frombytes()
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c813 int64_t carry0; in fe_frombytes() local
830 carry0 = h0 + (1 << 25); h1 += carry0 >> 26; h0 -= carry0 & kTop38Bits; in fe_frombytes()
1191 int64_t carry0; in fe_mul() local
1207 carry0 = h0 + (1 << 25); h1 += carry0 >> 26; h0 -= carry0 & kTop38Bits; in fe_mul()
1246 carry0 = h0 + (1 << 25); h1 += carry0 >> 26; h0 -= carry0 & kTop38Bits; in fe_mul()
1365 int64_t carry0; in fe_sq() local
1376 carry0 = h0 + (1 << 25); h1 += carry0 >> 26; h0 -= carry0 & kTop38Bits; in fe_sq()
1393 carry0 = h0 + (1 << 25); h1 += carry0 >> 26; h0 -= carry0 & kTop38Bits; in fe_sq()
1674 int64_t carry0; in fe_sq2() local
1696 carry0 = h0 + (1 << 25); h1 += carry0 >> 26; h0 -= carry0 & kTop38Bits; in fe_sq2()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1137 int64_t carry0; in sc25519_muladd() local
1197 carry0 = (s0 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1198 s1 += carry0; in sc25519_muladd()
1199 s0 -= carry0 * ((uint64_t) 1L << 21); in sc25519_muladd()
1388 carry0 = (s0 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1389 s1 += carry0; in sc25519_muladd()
1390 s0 -= carry0 * ((uint64_t) 1L << 21); in sc25519_muladd()
1434 carry0 = s0 >> 21; in sc25519_muladd()
1435 s1 += carry0; in sc25519_muladd()
1436 s0 -= carry0 * ((uint64_t) 1L << 21); in sc25519_muladd()
[all …]
/freebsd/lib/libc/softfloat/bits32/
H A Dsoftfloat-macros306 int8 carry0, carry1;
311 carry0 = ( z1 < a1 );
315 z0 += carry0;
/freebsd/lib/libc/softfloat/bits64/
H A Dsoftfloat-macros381 int8 carry0, carry1;
386 carry0 = ( z1 < a1 );
390 z0 += carry0;