Home
last modified time | relevance | path

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

/external/rust/crates/ring/crypto/curve25519/
Dcurve25519.c982 int64_t carry2; in GFp_x25519_sc_reduce() local
1132 carry2 = (s2 + (1 << 20)) >> 21; in GFp_x25519_sc_reduce()
1133 s3 += carry2; in GFp_x25519_sc_reduce()
1134 s2 -= int64_lshift21(carry2); in GFp_x25519_sc_reduce()
1181 carry2 = s2 >> 21; in GFp_x25519_sc_reduce()
1182 s3 += carry2; in GFp_x25519_sc_reduce()
1183 s2 -= int64_lshift21(carry2); in GFp_x25519_sc_reduce()
1226 carry2 = s2 >> 21; in GFp_x25519_sc_reduce()
1227 s3 += carry2; in GFp_x25519_sc_reduce()
1228 s2 -= int64_lshift21(carry2); in GFp_x25519_sc_reduce()
[all …]
/external/rust/crates/ring/crypto/fipsmodule/ec/
Dgfp_p384.c151 BN_ULONG carry2 = limbs_add(adjusted, r, Q_PLUS_1_SHR_1, P384_LIMBS); in elem_div_by_2() local
152 dev_assert_secret(carry2 == 0); in elem_div_by_2()
153 (void)carry2; in elem_div_by_2()
/external/boringssl/src/crypto/curve25519/
Dcurve25519.c1084 int64_t carry2; in x25519_sc_reduce() local
1234 carry2 = (s2 + (1 << 20)) >> 21; in x25519_sc_reduce()
1235 s3 += carry2; in x25519_sc_reduce()
1236 s2 -= int64_lshift21(carry2); in x25519_sc_reduce()
1283 carry2 = s2 >> 21; in x25519_sc_reduce()
1284 s3 += carry2; in x25519_sc_reduce()
1285 s2 -= int64_lshift21(carry2); in x25519_sc_reduce()
1328 carry2 = s2 >> 21; in x25519_sc_reduce()
1329 s3 += carry2; in x25519_sc_reduce()
1330 s2 -= int64_lshift21(carry2); in x25519_sc_reduce()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/curve25519/
Dcurve25519.c1084 int64_t carry2; in x25519_sc_reduce() local
1234 carry2 = (s2 + (1 << 20)) >> 21; in x25519_sc_reduce()
1235 s3 += carry2; in x25519_sc_reduce()
1236 s2 -= int64_lshift21(carry2); in x25519_sc_reduce()
1283 carry2 = s2 >> 21; in x25519_sc_reduce()
1284 s3 += carry2; in x25519_sc_reduce()
1285 s2 -= int64_lshift21(carry2); in x25519_sc_reduce()
1328 carry2 = s2 >> 21; in x25519_sc_reduce()
1329 s3 += carry2; in x25519_sc_reduce()
1330 s2 -= int64_lshift21(carry2); in x25519_sc_reduce()
[all …]
/external/OpenCL-CTS/test_conformance/math_brute_force/
Dreference_math.cpp2770 cl_ulong carry, carry2; in add128() local
2773 chi = add_carry(*hi, chi, &carry2); in add128()
2777 if (carry || carry2) in add128()
2799 cl_ulong carry, carry2; in sub128() local
2803 rHi = sub_carry(rHi, hi, &carry2); in sub128()
2807 if (carry || carry2) in sub128()
/external/rust/crates/quiche/deps/boringssl/src/crypto/hrss/
Dhrss.c124 const __m128i carry2 = _mm_srli_si128(v[2], 14); in vec4_rshift_word() local
129 v[3] |= carry2; in vec4_rshift_word()
/external/boringssl/src/crypto/hrss/
Dhrss.c124 const __m128i carry2 = _mm_srli_si128(v[2], 14); in vec4_rshift_word() local
129 v[3] |= carry2; in vec4_rshift_word()
/external/icu/icu4c/source/i18n/
DdecNumber.cpp5081 uInt carry2=(uInt)(lcarry/FASTBASE); /* top top part */ in decMultiplyOp() local
5082 *(lp+2)+=carry2; /* add to item+2 */ in decMultiplyOp()
5083 *lp-=((uLong)FASTBASE*FASTBASE*carry2); /* [slow] */ in decMultiplyOp()
5084 carry=(uInt)(lcarry-((uLong)FASTBASE*carry2)); /* [inline] */ in decMultiplyOp()