Home
last modified time | relevance | path

Searched refs:carry2 (Results 1 – 10 of 10) sorted by relevance

/freebsd/crypto/openssl/crypto/bn/asm/
H A Dia64.S620 #define carry2 r15 macro
746 { .mfi; mov carry2=0
755 (p7) add carry2=1,carry2 }
761 (p7) add carry2=1,carry2 }
766 (p7) add carry2=1,carry2 }
794 add r27=r27,carry2 };;
799 cmp.ltu p6,p0=r27,carry2 };;
805 { .mfi; mov carry2=0
815 (p7) add carry2=1,carry2 }
824 (p7) add carry2=1,carry2 }
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h21 int64_t carry2; in fe25519_frombytes() local
49 carry2 = (h2 + (int64_t)(1L << 25)) >> 26; in fe25519_frombytes()
50 h3 += carry2; in fe25519_frombytes()
51 h2 -= carry2 * ((uint64_t) 1L << 26); in fe25519_frombytes()
114 int32_t carry0, carry1, carry2, carry3, carry4, carry5, carry6, carry7, carry8, carry9; in fe25519_reduce() local
138 carry2 = h2 >> 26; in fe25519_reduce()
139 h3 += carry2; in fe25519_reduce()
140 h2 -= carry2 * ((uint32_t) 1L << 26); in fe25519_reduce()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c45 uint64_t carry2; in fe_frombytes() local
61 carry2 = h2 >> 26; h3 += carry2; h2 &= 0x3FFFFFF; in fe_frombytes()
/freebsd/contrib/llvm-project/libc/src/__support/
H A Dmath_extras.h92 T carry2 = add_overflow(sum, carry_in, sum); in add_with_carry() local
93 carry_out = carry1 | carry2; in add_with_carry()
118 T carry2 = sub_overflow(sub, carry_in, sub); in sub_with_borrow() local
119 carry_out = carry1 | carry2; in sub_with_borrow()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Ded25519_ref10_fe_25_5.h531 int64_t carry2; in fe25519_mul() local
569 carry2 = (h2 + (int64_t)(1L << 25)) >> 26; in fe25519_mul()
570 h3 += carry2; in fe25519_mul()
571 h2 -= carry2 * ((uint64_t) 1L << 26); in fe25519_mul()
734 int64_t carry2; in fe25519_sq() local
757 carry2 = (h2 + (int64_t)(1L << 25)) >> 26; in fe25519_sq()
758 h3 += carry2; in fe25519_sq()
759 h2 -= carry2 * ((uint64_t) 1L << 26); in fe25519_sq()
906 int64_t carry2; in fe25519_sq2() local
940 carry2 = (h2 + (int64_t)(1L << 25)) >> 26; in fe25519_sq2()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c846 int64_t carry2; in fe_frombytes() local
874 carry2 = h2 + (1 << 25); in fe_frombytes()
875 h3 += carry2 >> 26; in fe_frombytes()
876 h2 -= carry2 & kTop38Bits; in fe_frombytes()
1253 int64_t carry2; in fe_mul() local
1289 carry2 = h2 + (1 << 25); in fe_mul()
1290 h3 += carry2 >> 26; in fe_mul()
1291 h2 -= carry2 & kTop38Bits; in fe_mul()
1451 int64_t carry2; in fe_sq() local
1474 carry2 = h2 + (1 << 25); in fe_sq()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1139 int64_t carry2; in sc25519_muladd() local
1200 carry2 = (s2 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1201 s3 += carry2; in sc25519_muladd()
1202 s2 -= carry2 * ((uint64_t) 1L << 21); in sc25519_muladd()
1391 carry2 = (s2 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1392 s3 += carry2; in sc25519_muladd()
1393 s2 -= carry2 * ((uint64_t) 1L << 21); in sc25519_muladd()
1440 carry2 = s2 >> 21; in sc25519_muladd()
1441 s3 += carry2; in sc25519_muladd()
1442 s2 -= carry2 * ((uint64_t) 1L << 21); in sc25519_muladd()
[all …]
/freebsd/crypto/krb5/src/plugins/preauth/spake/
H A Dedwards25519.c1078 int64_t carry2; in x25519_sc_reduce() local
1228 carry2 = (s2 + (1 << 20)) >> 21; in x25519_sc_reduce()
1229 s3 += carry2; in x25519_sc_reduce()
1230 s2 -= int64_lshift21(carry2); in x25519_sc_reduce()
1277 carry2 = s2 >> 21; in x25519_sc_reduce()
1278 s3 += carry2; in x25519_sc_reduce()
1279 s2 -= int64_lshift21(carry2); in x25519_sc_reduce()
1322 carry2 = s2 >> 21; in x25519_sc_reduce()
1323 s3 += carry2; in x25519_sc_reduce()
1324 s2 -= int64_lshift21(carry2); in x25519_sc_reduce()
/freebsd/crypto/libecc/src/nn/
H A Dnn_add.c63 word_t tmp, carry1, carry2, _carry = WORD(0); in _nn_cnd_add() local
85 carry2 = (word_t)(out->val[i] < tmp); in _nn_cnd_add()
87 _carry = (word_t)(carry1 | carry2); in _nn_cnd_add()
/freebsd/crypto/libecc/src/examples/hash/
H A Dgostr34_11_94.c304 u64 tmp, carry1, carry2, _carry; in gostr34_11_94_256bit_sum() local
315 carry2 = (u64)(c < tmp); in gostr34_11_94_256bit_sum()
316 _carry = (u64)(carry1 | carry2); in gostr34_11_94_256bit_sum()