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 …]
DMakefile19 bignum.o \
Dpkcs8.c23 struct bignum *zero; in pkcs8_key_import()
/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.py299 bignum = 2*sys.maxsize
308 self.assertEqual(list(range(I(bignum), I(bignum + 1))), [bignum])
/external/epid-sdk/epid/common/math/src/
Dbignum.c26 EpidStatus NewBigNum(size_t data_size_bytes, BigNum** bignum) { in NewBigNum() argument
36 if (!bignum) { in NewBigNum()
75 *bignum = bn; in NewBigNum()
86 void DeleteBigNum(BigNum** bignum) { in DeleteBigNum() argument
87 if (bignum) { in DeleteBigNum()
88 if (*bignum) { in DeleteBigNum()
89 SAFE_FREE((*bignum)->ipp_bn); in DeleteBigNum()
91 SAFE_FREE(*bignum); in DeleteBigNum()
/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/epid-sdk/epid/common/math/
Dbignum.h63 EpidStatus NewBigNum(size_t data_size_bytes, BigNum** bignum);
74 void DeleteBigNum(BigNum** bignum);
/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()
Dinternal.h447 BIGNUM bignum; member
/external/tensorflow/tensorflow/contrib/cmake/external/
Ddouble_conversion.cmake31 "${double_conversion_INCLUDE_DIR}/double-conversion/bignum-dtoa.h"
36 "${double_conversion_INCLUDE_DIR}/double-conversion/bignum.h"
/external/swiftshader/third_party/llvm-7.0/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/python/cpython3/Modules/_decimal/libmpdec/
DREADME.txt38 Files for bignum arithmetic:
69 bignum.txt -> Explanation of the Fast Number Theoretic Transform (FNT).
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DUtils.java174 RubyBignum bignum = RubyBignum.newBignum(runtime, ((RubyFloat) value).getDoubleValue()); in num2ulong() local
175 return RubyBignum.big2ulong(bignum); in num2ulong()
/external/icu/icu4c/source/i18n/
DMakefile.in108 double-conversion.o double-conversion-bignum-dtoa.o double-conversion-bignum.o \
/external/python/cpython3/Modules/_decimal/libmpdec/literature/
Dbignum.txt61 List of bignum-only files:
/external/openssh/
DPROTOCOL.agent36 The "mpint1" type represents an arbitrary precision integer (bignum).
40 byte[(bits + 7) / 8] bignum
42 "bignum" contains an unsigned arbitrary precision integer encoded as
/external/skia/third_party/icu/
Dicu.gni497 "$_src/i18n/double-conversion-bignum-dtoa.cpp",
498 "$_src/i18n/double-conversion-bignum-dtoa.h",
499 "$_src/i18n/double-conversion-bignum.cpp",
500 "$_src/i18n/double-conversion-bignum.h",
/external/skqp/third_party/icu/
Dicu.gni399 "../externals/icu/source/i18n/double-conversion-bignum-dtoa.cpp",
400 "../externals/icu/source/i18n/double-conversion-bignum-dtoa.h",
401 "../externals/icu/source/i18n/double-conversion-bignum.cpp",
402 "../externals/icu/source/i18n/double-conversion-bignum.h",
/external/icu/icu4c/source/test/depstest/
Ddependencies.txt911 double-conversion.o double-conversion-bignum.o double-conversion-bignum-dtoa.o
/external/v8/
DAndroid.v8.bp31 "src/bignum-dtoa.cc",
32 "src/bignum.cc",

12