Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/tls/
Dbignum.h12 struct bignum;
14 struct bignum * bignum_init(void);
15 void bignum_deinit(struct bignum *n);
16 size_t bignum_get_unsigned_bin_len(struct bignum *n);
17 int bignum_get_unsigned_bin(const struct bignum *n, u8 *buf, size_t *len);
18 int bignum_set_unsigned_bin(struct bignum *n, const u8 *buf, size_t len);
19 int bignum_cmp(const struct bignum *a, const struct bignum *b);
20 int bignum_cmp_d(const struct bignum *a, unsigned long b);
21 int bignum_add(const struct bignum *a, const struct bignum *b,
22 struct bignum *c);
[all …]
Dbignum.c30 struct bignum * bignum_init(void) in bignum_init()
32 struct bignum *n = os_zalloc(sizeof(mp_int)); in bignum_init()
47 void bignum_deinit(struct bignum *n) in bignum_deinit()
61 size_t bignum_get_unsigned_bin_len(struct bignum *n) in bignum_get_unsigned_bin_len()
75 int bignum_get_unsigned_bin(const struct bignum *n, u8 *buf, size_t *len) in bignum_get_unsigned_bin()
99 int bignum_set_unsigned_bin(struct bignum *n, const u8 *buf, size_t len) in bignum_set_unsigned_bin()
115 int bignum_cmp(const struct bignum *a, const struct bignum *b) in bignum_cmp()
127 int bignum_cmp_d(const struct bignum *a, unsigned long b) in bignum_cmp_d()
140 int bignum_add(const struct bignum *a, const struct bignum *b, in bignum_add()
141 struct bignum *c) in bignum_add()
[all …]
Drsa.c19 struct bignum *n; /* modulus (p * q) */
20 struct bignum *e; /* public exponent */
22 struct bignum *d; /* private exponent */
23 struct bignum *p; /* prime p (factor of n) */
24 struct bignum *q; /* prime q (factor of n) */
25 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */
26 struct bignum *dmq1; /* d mod (q - 1); CRT exponent */
27 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */
32 struct bignum *num) in crypto_rsa_parse_integer()
152 struct bignum *zero; in crypto_rsa_import_private_key()
[all …]
DMakefile8 bignum.o \
Dpkcs8.c23 struct bignum *zero; in pkcs8_key_import()
/external/oss-fuzz/projects/bignum-fuzzer/
Dbuild.sh42 cd $SRC/bignum-fuzzer/modules/openssl
46 cd $SRC/bignum-fuzzer/modules/go
54 cd $SRC/bignum-fuzzer/modules/cpp_boost
58 cd $SRC/bignum-fuzzer/modules/libgmp
62 cd $SRC/bignum-fuzzer/modules/libmpdec
68 cd $SRC/bignum-fuzzer
74 cp $SRC/bignum-fuzzer/fuzzer $OUT/fuzzer_openssl_go_no_negative_num_len_1200_all_operations
87 cd $SRC/bignum-fuzzer
94 cp $SRC/bignum-fuzzer/fuzzer $OUT/fuzzer_openssl_cpp_boost_num_len_1200_all_operations_num_loops_1
97 cd $SRC/bignum-fuzzer
[all …]
DDockerfile21 RUN git clone --depth 1 https://github.com/guidovranken/bignum-fuzzer
/external/python/cpython2/Lib/test/
Dtest_kqueue.py76 bignum = 0x7fff
77 ev = select.kevent(bignum, 1, 2, 3, bignum - 1, bignum)
78 self.assertEqual(ev.ident, bignum)
82 self.assertEqual(ev.data, bignum - 1)
83 self.assertEqual(ev.udata, bignum)
88 bignum = 0xffff
89 ev = select.kevent(0, 1, bignum)
92 self.assertEqual(ev.flags, bignum)
100 bignum = 0xffffffff
101 ev = select.kevent(0, 1, 2, bignum)
[all …]
Dtest_builtin.py1074 bignum = 2*sys.maxint
1082 self.assertEqual(range(I0(bignum), I0(bignum + 1)), [bignum])
1091 self.assertEqual(range(I1(bignum), I1(bignum + 1)), [bignum])
/external/python/cpython3/Lib/test/
Dtest_kqueue.py76 bignum = 0x7fff
77 ev = select.kevent(bignum, 1, 2, 3, bignum - 1, bignum)
78 self.assertEqual(ev.ident, bignum)
82 self.assertEqual(ev.data, bignum - 1)
83 self.assertEqual(ev.udata, bignum)
88 bignum = 0xffff
89 ev = select.kevent(0, 1, bignum)
92 self.assertEqual(ev.flags, bignum)
100 bignum = 0xffffffff
101 ev = select.kevent(0, 1, 2, bignum)
[all …]
Dtest_range.py309 bignum = 2*sys.maxsize
318 self.assertEqual(list(range(I(bignum), I(bignum + 1))), [bignum])
/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal-modexp.c48 struct bignum *pub; in crypto_dh_derive_secret()
62 struct bignum *p, *q, *tmp; in crypto_dh_derive_secret()
94 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; in crypto_mod_exp()
/external/llvm-project/clang/test/Analysis/
Duse-after-move.cpp134 int bignum();
300 …for (int i = 0; i < bignum(); i++) { // peaceful-note {{Loop condition is false. Execution jumps t… in loopTest()
314 …for (int i = 0; i < bignum(); i++) { // peaceful-note {{Loop condition is false. Execution jumps t… in loopTest()
328 …for (int i = 0; i < bignum(); i++) { // peaceful-note {{Loop condition is false. Execution jumps t… in loopTest()
342 …for (int i = 0; i < bignum(); i++) { // peaceful-note {{Loop condition is false. Execution jumps t… in loopTest()
356 …for (int i = 0; i < bignum(); i++) { // peaceful-note {{Loop condition is false. Execution jumps t… in loopTest()
370 …for (int i = 0; i < bignum(); i++) { // peaceful-note {{Loop condition is true. Entering loop … in loopTest()
611 for (int i = 0; i < bignum(); i++) { in tempTest()
/external/boringssl/src/crypto/fipsmodule/ec/
Dec_key.c95 wrapped->bignum.d = wrapped->scalar.words; in DEFINE_STATIC_EX_DATA_CLASS()
96 wrapped->bignum.width = group->order.width; in DEFINE_STATIC_EX_DATA_CLASS()
97 wrapped->bignum.dmax = group->order.width; in DEFINE_STATIC_EX_DATA_CLASS()
98 wrapped->bignum.flags = BN_FLG_STATIC_DATA; in DEFINE_STATIC_EX_DATA_CLASS()
237 return key->priv_key != NULL ? &key->priv_key->bignum : NULL; in EC_KEY_get0_private_key()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/
Dec_key.c95 wrapped->bignum.d = wrapped->scalar.words; in DEFINE_STATIC_EX_DATA_CLASS()
96 wrapped->bignum.width = group->order.width; in DEFINE_STATIC_EX_DATA_CLASS()
97 wrapped->bignum.dmax = group->order.width; in DEFINE_STATIC_EX_DATA_CLASS()
98 wrapped->bignum.flags = BN_FLG_STATIC_DATA; in DEFINE_STATIC_EX_DATA_CLASS()
237 return key->priv_key != NULL ? &key->priv_key->bignum : NULL; in EC_KEY_get0_private_key()
/external/rust/crates/serde_json/src/lexical/
Dmod.rs16 mod bignum; module
Dbhcomp.rs8 use super::bignum::*;
/external/python/cpython3/Modules/_decimal/libmpdec/
DREADME.txt37 Files for bignum arithmetic:
68 bignum.txt -> Explanation of the Fast Number Theoretic Transform (FNT).
/external/llvm-project/llvm/test/CodeGen/AVR/
Dissue-regalloc-stackframe-folding-earlyclobber.ll57 br i1 %tmp10, label %core.num.bignum.Big32x40.exit44, label %core.iter.Enumerate.ALPHA
117 br label %core.num.bignum.Big32x40.exit44
119 core.num.bignum.Big32x40.exit44:
/external/icu/icu4c/source/i18n/
Dsources.txt56 double-conversion-bignum-dtoa.cpp
57 double-conversion-bignum.cpp
/external/arm-trusted-firmware/drivers/auth/mbedtls/
Dmbedtls_common.mk35 bignum.c \
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DUtils.java181 RubyBignum bignum = RubyBignum.newBignum(runtime, ((RubyFloat) value).getDoubleValue()); in num2ulong() local
182 return RubyBignum.big2ulong(bignum); in num2ulong()
/external/python/cpython3/Modules/_decimal/libmpdec/literature/
Dbignum.txt61 List of bignum-only files:
/external/ms-tpm-20-ref/TPMCmd/
Dconfigure.ac63 AC_DEFINE([MATH_LIB], [Ossl], [Crypto lib for bignum operations])
/external/skia/third_party/icu/
Dicu.gni496 "$_src/i18n/double-conversion-bignum-dtoa.cpp",
497 "$_src/i18n/double-conversion-bignum-dtoa.h",
498 "$_src/i18n/double-conversion-bignum.cpp",
499 "$_src/i18n/double-conversion-bignum.h",

12