/external/wpa_supplicant_8/src/tls/ |
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 [all...] |
bignum.c | 12 #include "bignum.h" 23 * struct bignum is just typecast to mp_int. 27 * bignum_init - Allocate memory for bignum 28 * Returns: Pointer to allocated bignum or %NULL on failure 30 struct bignum * bignum_init(void) 32 struct bignum *n = os_zalloc(sizeof(mp_int)); 44 * bignum_deinit - Free bignum 45 * @n: Bignum from bignum_init() 47 void bignum_deinit(struct bignum *n) 57 * bignum_get_unsigned_bin - Get length of bignum as an unsigned binary buffe [all...] |
/external/chromium_org/v8/test/cctest/ |
test-bignum.cc | 34 #include "bignum.h" 41 static void AssignHexString(Bignum* bignum, const char* str) { 42 bignum->AssignHexString(Vector<const char>(str, StrLength(str))); 46 static void AssignDecimalString(Bignum* bignum, const char* str) { 47 bignum->AssignDecimalString(Vector<const char>(str, StrLength(str))); 53 Bignum bignum; local 54 Bignum bignum2 122 Bignum bignum; local 160 Bignum bignum; local 259 Bignum bignum; local 349 Bignum bignum; local 449 Bignum bignum; local 550 Bignum bignum; local 651 Bignum bignum; local 981 Bignum bignum; local 1360 Bignum bignum; local 1391 Bignum bignum; local [all...] |
/external/v8/test/cctest/ |
test-bignum.cc | 34 #include "bignum.h" 41 static void AssignHexString(Bignum* bignum, const char* str) { 42 bignum->AssignHexString(Vector<const char>(str, StrLength(str))); 46 static void AssignDecimalString(Bignum* bignum, const char* str) { 47 bignum->AssignDecimalString(Vector<const char>(str, StrLength(str))); 53 Bignum bignum; local 54 Bignum bignum2 122 Bignum bignum; local 160 Bignum bignum; local 259 Bignum bignum; local 349 Bignum bignum; local 449 Bignum bignum; local 550 Bignum bignum; local 651 Bignum bignum; local 981 Bignum bignum; local 1360 Bignum bignum; local 1391 Bignum bignum; local [all...] |
/external/openssh/ |
schnorr.h | 26 BIGNUM *p, *q, *g; 29 BIGNUM *bn_rand_range_gt_one(const BIGNUM *high); 31 void debug3_bn(const BIGNUM *, const char *, ...) 42 schnorr_sign(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, 43 const EVP_MD *evp_md, const BIGNUM *x, const BIGNUM *g_x, 44 const u_char *id, u_int idlen, BIGNUM **r_p, BIGNUM **e_p) [all...] |
jpake.h | 43 BIGNUM *s; /* Secret (salted, crypted password) */ 44 BIGNUM *k; /* Derived key */ 47 BIGNUM *x1; /* random in Zq */ 48 BIGNUM *x2; /* random in Z*q */ 51 BIGNUM *x3; /* random in Zq */ 52 BIGNUM *x4; /* random in Z*q */ 57 BIGNUM *g_x1; /* g^x1 */ 58 BIGNUM *g_x2; /* g^x2 */ 63 BIGNUM *g_x3; /* g^x3 */ 64 BIGNUM *g_x4; /* g^x4 * [all...] |
monitor_wrap.h | 53 int mm_auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **); 54 int mm_auth_rsa_verify_response(Key *, BIGNUM *, u_char *); 55 BIGNUM *mm_auth_rsa_generate_challenge(Key *); 87 int mm_ssh1_session_key(BIGNUM *); 107 void mm_auth2_jpake_get_pwdata(struct Authctxt *, BIGNUM **, char **, char **); 109 BIGNUM **, BIGNUM **, BIGNUM **, BIGNUM **, 111 void mm_jpake_step2(struct modp_group *, BIGNUM *, [all...] |
rsa.h | 22 void rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *); 23 int rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *);
|
/libcore/luni/src/main/java/java/math/ |
NativeBN.java | 22 // BIGNUM *BN_new(void); 25 // void BN_free(BIGNUM *a); 28 // int BN_cmp(const BIGNUM *a, const BIGNUM *b); 31 // BIGNUM *BN_copy(BIGNUM *to, const BIGNUM *from); 37 // int BN_dec2bn(BIGNUM **a, const char *str); 40 // int BN_hex2bn(BIGNUM **a, const char *str); 43 // BIGNUM * BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret) [all...] |
BigInt.java | 27 transient long bignum = 0; field in class:BigInt 31 if (this.bignum != 0) { 32 NativeBN.BN_free(this.bignum); 33 this.bignum = 0; 46 return this.bignum; 50 if (this.bignum == 0) { 51 this.bignum = NativeBN.BN_new(); 57 bi.bignum = NativeBN.BN_new(); 63 return NativeBN.BN_cmp(a.bignum, b.bignum); [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
bn.h | 139 /* These preprocessor symbols control various aspects of the bignum headers and 144 * BN_DEBUG - turn on various debugging alterations to the bignum code 146 * mismanagement of bignum internals. You must also define BN_DEBUG. 296 /* get a clone of a BIGNUM with changed flags, for *temporary* use only 309 typedef struct bignum_st BIGNUM; 332 BIGNUM RR; /* used to convert to montgomery form */ 333 BIGNUM N; /* The modulus */ 334 BIGNUM Ni; /* R*(1/R mod N) - N*Ni = 1 335 * (Ni is only stored for bignum algorithm) */ 346 BIGNUM N; /* the divisor * [all...] |
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
bn.h | 139 /* These preprocessor symbols control various aspects of the bignum headers and 144 * BN_DEBUG - turn on various debugging alterations to the bignum code 146 * mismanagement of bignum internals. You must also define BN_DEBUG. 296 /* get a clone of a BIGNUM with changed flags, for *temporary* use only 309 typedef struct bignum_st BIGNUM; 332 BIGNUM RR; /* used to convert to montgomery form */ 333 BIGNUM N; /* The modulus */ 334 BIGNUM Ni; /* R*(1/R mod N) - N*Ni = 1 335 * (Ni is only stored for bignum algorithm) */ 346 BIGNUM N; /* the divisor * [all...] |
srp.h | 78 BIGNUM *bn; 87 BIGNUM *s; 88 BIGNUM *v; 89 const BIGNUM *g; 90 const BIGNUM *N; 102 BIGNUM *default_g; 103 BIGNUM *default_N; 111 BIGNUM *g; 112 BIGNUM *N; 123 int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt, BIGNUM **verifier, BIGNUM *N, BIGNUM *g) [all...] |
/external/openssl/crypto/bn/ |
bn.h | 139 /* These preprocessor symbols control various aspects of the bignum headers and 144 * BN_DEBUG - turn on various debugging alterations to the bignum code 146 * mismanagement of bignum internals. You must also define BN_DEBUG. 296 /* get a clone of a BIGNUM with changed flags, for *temporary* use only 309 typedef struct bignum_st BIGNUM; 332 BIGNUM RR; /* used to convert to montgomery form */ 333 BIGNUM N; /* The modulus */ 334 BIGNUM Ni; /* R*(1/R mod N) - N*Ni = 1 335 * (Ni is only stored for bignum algorithm) */ 346 BIGNUM N; /* the divisor * [all...] |
/external/openssl/include/openssl/ |
bn.h | 139 /* These preprocessor symbols control various aspects of the bignum headers and 144 * BN_DEBUG - turn on various debugging alterations to the bignum code 146 * mismanagement of bignum internals. You must also define BN_DEBUG. 296 /* get a clone of a BIGNUM with changed flags, for *temporary* use only 309 typedef struct bignum_st BIGNUM; 332 BIGNUM RR; /* used to convert to montgomery form */ 333 BIGNUM N; /* The modulus */ 334 BIGNUM Ni; /* R*(1/R mod N) - N*Ni = 1 335 * (Ni is only stored for bignum algorithm) */ 346 BIGNUM N; /* the divisor * [all...] |
srp.h | 78 BIGNUM *bn; 87 BIGNUM *s; 88 BIGNUM *v; 89 const BIGNUM *g; 90 const BIGNUM *N; 102 BIGNUM *default_g; 103 BIGNUM *default_N; 111 BIGNUM *g; 112 BIGNUM *N; 123 int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt, BIGNUM **verifier, BIGNUM *N, BIGNUM *g) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/srp/ |
srp.h | 78 BIGNUM *bn; 87 BIGNUM *s; 88 BIGNUM *v; 89 const BIGNUM *g; 90 const BIGNUM *N; 102 BIGNUM *default_g; 103 BIGNUM *default_N; 111 BIGNUM *g; 112 BIGNUM *N; 123 int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt, BIGNUM **verifier, BIGNUM *N, BIGNUM *g) [all...] |
srp_lib.c | 78 static BIGNUM *srp_Calc_k(BIGNUM *N, BIGNUM *g) 108 BIGNUM *SRP_Calc_u(BIGNUM *A, BIGNUM *B, BIGNUM *N) 112 BIGNUM *u; 143 BIGNUM *SRP_Calc_server_key(BIGNUM *A, BIGNUM *v, BIGNUM *u, BIGNUM *b, BIGNUM *N [all...] |
/external/openssl/crypto/srp/ |
srp.h | 78 BIGNUM *bn; 87 BIGNUM *s; 88 BIGNUM *v; 89 const BIGNUM *g; 90 const BIGNUM *N; 102 BIGNUM *default_g; 103 BIGNUM *default_N; 111 BIGNUM *g; 112 BIGNUM *N; 123 int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt, BIGNUM **verifier, BIGNUM *N, BIGNUM *g) [all...] |
srp_lib.c | 78 static BIGNUM *srp_Calc_k(BIGNUM *N, BIGNUM *g) 108 BIGNUM *SRP_Calc_u(BIGNUM *A, BIGNUM *B, BIGNUM *N) 112 BIGNUM *u; 143 BIGNUM *SRP_Calc_server_key(BIGNUM *A, BIGNUM *v, BIGNUM *u, BIGNUM *b, BIGNUM *N [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
ec_lcl.h | 105 int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *); 106 int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *); 129 const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *); 131 BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *) [all...] |
/external/openssl/crypto/ec/ |
ec_lcl.h | 105 int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *); 106 int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *); 129 const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *); 131 BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
bignum.h | 37 class Bignum { 40 // This bignum can encode much bigger numbers, since it contains an 44 Bignum(); 47 void AssignBignum(const Bignum& other); 56 void AddBignum(const Bignum& other); 58 void SubtractBignum(const Bignum& other); 70 uint16_t DivideModuloIntBignum(const Bignum& other); 74 static int Compare(const Bignum& a, const Bignum& b); 75 static bool Equal(const Bignum& a, const Bignum& b) [all...] |
/external/chromium_org/v8/src/ |
bignum.h | 34 class Bignum { 37 // This bignum can encode much bigger numbers, since it contains an 41 Bignum(); 44 void AssignBignum(const Bignum& other); 53 void AddBignum(const Bignum& other); 55 void SubtractBignum(const Bignum& other); 67 uint16_t DivideModuloIntBignum(const Bignum& other); 71 static int Compare(const Bignum& a, const Bignum& b); 72 static bool Equal(const Bignum& a, const Bignum& b) [all...] |
/external/v8/src/ |
bignum.h | 34 class Bignum { 37 // This bignum can encode much bigger numbers, since it contains an 41 Bignum(); 44 void AssignBignum(const Bignum& other); 53 void AddBignum(const Bignum& other); 55 void SubtractBignum(const Bignum& other); 67 uint16_t DivideModuloIntBignum(const Bignum& other); 71 static int Compare(const Bignum& a, const Bignum& b); 72 static bool Equal(const Bignum& a, const Bignum& b) [all...] |