/external/v8/test/cctest/ |
D | test-bignum.cc | 41 static void AssignHexString(Bignum* bignum, const char* str) { in AssignHexString() argument 42 bignum->AssignHexString(Vector<const char>(str, StrLength(str))); in AssignHexString() 46 static void AssignDecimalString(Bignum* bignum, const char* str) { in AssignDecimalString() argument 47 bignum->AssignDecimalString(Vector<const char>(str, StrLength(str))); in AssignDecimalString() 53 Bignum bignum; in TEST() local 55 bignum.AssignUInt16(0); in TEST() 56 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST() 58 bignum.AssignUInt16(0xA); in TEST() 59 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST() 61 bignum.AssignUInt16(0x20); in TEST() [all …]
|
D | test-strtod.cc | 378 Bignum bignum; in CompareBignumToDiyFp() local 379 bignum.AssignBignum(bignum_digits); in CompareBignumToDiyFp() 383 bignum.MultiplyByPowerOfTen(bignum_exponent); in CompareBignumToDiyFp() 390 bignum.ShiftLeft(-diy_fp.e()); in CompareBignumToDiyFp() 392 return Bignum::Compare(bignum, other); in CompareBignumToDiyFp()
|
D | cctest.gyp | 98 'test-bignum.cc', 99 'test-bignum-dtoa.cc',
|
/external/wpa_supplicant_8/src/tls/ |
D | bignum.h | 12 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 …]
|
D | bignum.c | 30 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 …]
|
D | rsa.c | 19 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 …]
|
D | Makefile | 19 bignum.o \
|
D | pkcs8.c | 23 struct bignum *zero; in pkcs8_key_import()
|
/external/v8/test/mjsunit/ |
D | toint32.js | 118 var bignum = Math.pow(2, 84) - Math.pow(2, 31); variable 119 assertEquals(-Math.pow(2,31), toInt32(bignum)); 120 assertEquals(-Math.pow(2,31), toInt32(-bignum)); 121 assertEquals(0, toInt32(2 * bignum)); 122 assertEquals(0, toInt32(-(2 * bignum))); 123 assertEquals(0, toInt32(bignum - Math.pow(2,31))); 124 assertEquals(0, toInt32(-(bignum - Math.pow(2,31))));
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_internal-modexp.c | 21 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; in crypto_mod_exp()
|
/external/openssh/ |
D | PROTOCOL.agent | 36 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
|
D | ChangeLog | 1823 Channel Attack. fake up a bignum key before RSA decryption. discussed/ok djm 4077 add a canonical 6.6 + curve25519 bignum fix fake version that I can 4493 1 bignum value; found by Ben Hawkes; ok deraadt@ 5321 a string using the bignum encoding rules. Will make it easier to
|
/external/v8/ |
D | Android.v8common.mk | 27 src/bignum-dtoa.cc \ 28 src/bignum.cc \
|
D | BUILD.gn | 443 "src/bignum-dtoa.cc", 444 "src/bignum-dtoa.h", 445 "src/bignum.cc", 446 "src/bignum.h",
|
/external/v8/tools/gyp/ |
D | v8.gyp | 354 '../../src/bignum-dtoa.cc', 355 '../../src/bignum-dtoa.h', 356 '../../src/bignum.cc', 357 '../../src/bignum.h',
|
/external/wpa_supplicant_8/hostapd/ |
D | Makefile | 594 OBJS += ../src/tls/bignum.o
|
D | ChangeLog | 606 needed X.509/ASN.1/RSA/bignum processing (this can be enabled by
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | README | 104 - bignum 106 TLSv1/X.509/ASN.1/RSA/bignum parts are about 25 kB on x86)
|
D | Makefile | 1066 OBJS += ../src/tls/bignum.o
|
D | ChangeLog | 1124 needed X.509/ASN.1/RSA/bignum processing (this can be enabled by
|
/external/libopus/ |
D | configure | 11569 static long long int bignum = -9223372036854775807LL; 11667 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
|
/external/bison/ |
D | configure | 5413 static long long int bignum = -9223372036854775807LL; 5511 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
|