Home
last modified time | relevance | path

Searched refs:bignum (Results 1 – 25 of 26) 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.py73 bignum = 0x7fff
74 ev = select.kevent(bignum, 1, 2, 3, bignum - 1, bignum)
75 self.assertEqual(ev.ident, bignum)
79 self.assertEqual(ev.data, bignum - 1)
80 self.assertEqual(ev.udata, bignum)
85 bignum = 0xffff
86 ev = select.kevent(0, 1, bignum)
89 self.assertEqual(ev.flags, bignum)
97 bignum = 0xffffffff
98 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.py291 bignum = 2*sys.maxsize
300 self.assertEqual(list(range(I(bignum), I(bignum + 1))), [bignum])
/external/python/cpython3/Modules/_decimal/libmpdec/
DREADME.txt38 Files for bignum arithmetic:
69 bignum.txt -> Explanation of the Fast Number Theoretic Transform (FNT).
/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal-modexp.c21 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; in crypto_mod_exp()
/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/python/cpython3/Modules/_decimal/libmpdec/literature/
Dbignum.txt61 List of bignum-only files:
/external/v8/
DAndroid.v8.mk40 src/bignum-dtoa.cc \
41 src/bignum.cc \
DBUILD.gn963 "src/bignum-dtoa.cc",
964 "src/bignum-dtoa.h",
965 "src/bignum.cc",
966 "src/bignum.h",
/external/v8/src/
Dv8.gyp470 'bignum-dtoa.cc',
471 'bignum-dtoa.h',
472 'bignum.cc',
473 'bignum.h',
/external/wpa_supplicant_8/wpa_supplicant/
DREADME106 - bignum
108 TLSv1/X.509/ASN.1/RSA/bignum parts are about 25 kB on x86)
DChangeLog1331 needed X.509/ASN.1/RSA/bignum processing (this can be enabled by
/external/strace/
Dconfigure4439 static long long int bignum = -9223372036854775807LL;
4537 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
/external/lmfit/
Dconfigure11446 static long long int bignum = -9223372036854775807LL;
11544 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
/external/wpa_supplicant_8/hostapd/
DChangeLog715 needed X.509/ASN.1/RSA/bignum processing (this can be enabled by
/external/ImageMagick/
Dconfigure7580 static long long int bignum = -9223372036854775807LL;
7678 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
8338 static long long int bignum = -9223372036854775807LL;
8436 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1106 in integer bignum arithmetic the differences can be significantly higher.
/external/libxkbcommon/xkbcommon/build-aux/
Doutput.011758 static long long int bignum = -9223372036854775807LL;
11856 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
Doutput.211758 static long long int bignum = -9223372036854775807LL;
11856 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'

12