Home
last modified time | relevance | path

Searched refs:bigint (Results 1 – 25 of 25) sorted by relevance

/external/fmtlib/test/
Dformat-impl-test.cc27 using fmt::detail::bigint;
31 static_assert(!std::is_copy_constructible<bigint>::value, "");
32 static_assert(!std::is_copy_assignable<bigint>::value, "");
35 EXPECT_EQ("", fmt::format("{}", bigint())); in TEST()
36 EXPECT_EQ("42", fmt::format("{}", bigint(0x42))); in TEST()
37 EXPECT_EQ("123456789abcedf0", fmt::format("{}", bigint(0x123456789abcedf0))); in TEST()
41 bigint n1(42); in TEST()
42 bigint n2(42); in TEST()
46 bigint n3(43); in TEST()
49 bigint n4(42 * 0x100000001); in TEST()
[all …]
/external/rust/crates/ring/src/rsa/
Dsigning.rs16 bigint::{self, Prime},
33 qInv: bigint::Elem<P, R>,
34 qq: bigint::Modulus<QQ>,
35 q_mod_n: bigint::Elem<N, R>,
198 let (p, p_bits) = bigint::Nonnegative::from_be_bytes_with_bit_length(p) in from_der_reader()
200 let (q, q_bits) = bigint::Nonnegative::from_be_bytes_with_bit_length(q) in from_der_reader()
295 let q_mod_n = bigint::elem_mul( in from_der_reader()
303 let pq_mod_n = bigint::elem_mul(&q_mod_n, p_mod_n, &public_key.n); in from_der_reader()
315 let (d, d_bits) = bigint::Nonnegative::from_be_bytes_with_bit_length(d) in from_der_reader()
342 bigint::Elem::from_be_bytes_padded(qInv, &p.modulus) in from_der_reader()
[all …]
Dverification.rs19 arithmetic::{bigint, montgomery::Unencoded},
27 pub n: bigint::Modulus<N>,
28 pub e: bigint::PublicExponent,
50 let (n, n_bits) = bigint::Modulus::from_be_bytes_with_bit_length(n)?; in from_modulus_and_exponent()
73 let e = bigint::PublicExponent::from_be_bytes(e, e_min_value)?; in from_modulus_and_exponent()
300 let s = bigint::Elem::from_be_bytes_padded(signature, &n)?; in verify_rsa_()
306 let m = bigint::elem_exp_vartime(s, e, &n); in verify_rsa_()
326 elem: bigint::Elem<N, Unencoded>, in fill_be_bytes_n()
/external/rust/crates/ring/src/
Drsa.rs22 arithmetic::bigint,
37 const PUBLIC_KEY_PUBLIC_MODULUS_MAX_LEN: usize = bigint::MODULUS_MAX_LIMBS * limb::LIMB_BYTES;
66 unsafe impl bigint::PublicModulus for N {}
Darithmetic.rs19 pub mod bigint; module
/external/fmtlib/include/fmt/
Dformat-inl.h1238 class bigint {
1253 friend struct formatter<bigint>;
1268 void subtract_aligned(const bigint& other) {
1308 bigint() : exp_(0) {}
1309 explicit bigint(uint64_t n) { assign(n); }
1310 ~bigint() { assert(bigits_.capacity() <= bigits_capacity); }
1312 bigint(const bigint&) = delete;
1313 void operator=(const bigint&) = delete;
1315 void assign(const bigint& other) {
1335 FMT_NOINLINE bigint& operator<<=(int shift) {
[all …]
/external/pdfium/fxbarcode/pdf417/
DBC_PDF417HighLevelEncoder.cpp299 BigInteger bigint = stringToBigInteger(part.c_str()); in EncodeNumeric() local
301 int32_t c = (bigint % num900).toInt(); in EncodeNumeric()
303 bigint = bigint / num900; in EncodeNumeric()
304 } while (!bigint.isZero()); in EncodeNumeric()
/external/pdfium/third_party/
DBUILD.gn28 source_set("bigint") {
35 "bigint/BigInteger.cc",
36 "bigint/BigInteger.hh",
37 "bigint/BigIntegerLibrary.hh",
38 "bigint/BigIntegerUtils.cc",
39 "bigint/BigIntegerUtils.hh",
40 "bigint/BigUnsigned.cc",
41 "bigint/BigUnsigned.hh",
42 "bigint/BigUnsignedInABase.cc",
43 "bigint/BigUnsignedInABase.hh",
[all …]
/external/starlark-go/starlark/
Dint_test.go94 bigint := value.BigInt()
95 bigint.Set(big.NewInt(2))
/external/pdfium/fxbarcode/
DDEPS4 '+third_party/bigint',
DBUILD.gn139 "../third_party:bigint",
/external/pdfium/
D.gn29 "//third_party:bigint",
/external/python/cpython2/Lib/test/
Dtest_fractions.py252 bigint = 1234567890123456789
253 self.assertEqual((bigint, 1), _components(F.from_float(bigint)))
Dtest_decimal.py1729 bigint = 12345678901234567890123456789
1730 self.assertEqual(MyDecimal.from_float(bigint), MyDecimal(bigint))
/external/python/cpython3/Lib/test/
Dtest_fractions.py232 bigint = 1234567890123456789
233 self.assertEqual((bigint, 1), _components(F.from_float(bigint)))
Dtest_decimal.py2555 bigint = 12345678901234567890123456789
2556 self.assertEqual(MyDecimal.from_float(bigint), MyDecimal(bigint))
/external/pdfium/third_party/bigint/
DLICENSE5 http://mattmccutchen.net/bigint/
/external/rust/crates/syn/src/
Dlib.rs331 mod bigint; module
Dlit.rs927 use crate::bigint::BigInt;
/external/geonames/export/dump/
Dreadme.txt58 population : bigint (8 byte int)
/external/python/cpython2/Lib/
D_pyio.py1709 def _unpack_cookie(self, bigint): argument
1710 rest, position = divmod(bigint, 1<<64)
/external/rust/crates/ring/
DCargo.toml.orig124 "src/arithmetic/bigint.rs",
DCargo.toml20 …aead/shift.rs", "src/agreement.rs", "src/arithmetic.rs", "src/arithmetic/bigint.rs", "src/arithmet…
/external/python/cpython3/Lib/
D_pyio.py2314 def _unpack_cookie(self, bigint): argument
2315 rest, position = divmod(bigint, 1<<64)
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...