HomeSort by relevance Sort by last modified time
    Searched full:bignum (Results 76 - 100 of 302) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/openssl/crypto/bn/
bn_ctx.c 71 * 1. Check a bunch of "(words+1)" type hacks in various bignum functions and
77 * prevent piddly little reallocations. OTOH, profiling bignum expansions in
93 /* The bignum values */
94 BIGNUM vals[BN_CTX_POOL_SIZE];
111 static BIGNUM * BN_POOL_get(BN_POOL *);
121 /* Array of indexes into the bignum stack */
141 /* The bignum bundles */
288 BIGNUM *BN_CTX_get(BN_CTX *ctx)
290 BIGNUM *ret;
301 /* OK, make sure the returned bignum is "zero" *
    [all...]
bn_print.c 68 char *BN_bn2hex(const BIGNUM *a)
103 char *BN_bn2dec(const BIGNUM *a)
108 BIGNUM *t=NULL;
172 int BN_hex2bn(BIGNUM **bn, const char *a)
174 BIGNUM *ret=NULL;
239 int BN_dec2bn(BIGNUM **bn, const char *a)
241 BIGNUM *ret=NULL;
297 int BN_asc2bn(BIGNUM **bn, const char *a)
320 int BN_print_fp(FILE *fp, const BIGNUM *a)
334 int BN_print(BIO *bp, const BIGNUM *a
    [all...]
bnspeed.c 168 void do_mul(BIGNUM *r,BIGNUM *a,BIGNUM *b,BN_CTX *ctx);
173 BIGNUM a,b,c;
183 void do_mul(BIGNUM *r, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
bn_exp2.c 118 int BN_mod_exp2_mont(BIGNUM *rr, const BIGNUM *a1, const BIGNUM *p1,
119 const BIGNUM *a2, const BIGNUM *p2, const BIGNUM *m,
124 BIGNUM *d,*r;
125 const BIGNUM *a_mod_m;
127 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE];
expspeed.c 200 void do_mul_exp(BIGNUM *r,BIGNUM *a,BIGNUM *b,BIGNUM *c,BN_CTX *ctx);
205 BIGNUM *a,*b,*c,*r;
226 void do_mul_exp(BIGNUM *r, BIGNUM *a, BIGNUM *b, BIGNUM *c, BN_CTX *ctx)
bn_mont.c 126 static int BN_from_montgomery_word(BIGNUM *ret, BIGNUM *r, BN_MONT_CTX *mont);
129 int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
132 BIGNUM *tmp;
177 static int BN_from_montgomery_word(BIGNUM *ret, BIGNUM *r, BN_MONT_CTX *mont)
179 BIGNUM *n;
280 int BN_from_montgomery(BIGNUM *ret, const BIGNUM *a, BN_MONT_CTX *mont
    [all...]
bntest.c 97 int test_lshift(BIO *bp,BN_CTX *ctx,BIGNUM *a_);
319 BIGNUM a,b,c;
363 BIGNUM a,b,c;
414 BIGNUM a,b,c,d,e;
494 BIGNUM a,b;
550 BIGNUM a,b,c,d,e;
623 BIGNUM a,b,c,d,e;
679 BIGNUM a,c,d,e;
721 BIGNUM a,b,c,d,A,B;
722 BIGNUM n
    [all...]
bn_div.c 67 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
72 BIGNUM *D;
181 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
185 BIGNUM *tmp,wnum,*snum,*sdiv,*res
    [all...]
bn_nist.c 217 static const BIGNUM _bignum_nist_p_192 =
226 static const BIGNUM _bignum_nist_p_224 =
235 static const BIGNUM _bignum_nist_p_256 =
244 static const BIGNUM _bignum_nist_p_384 =
253 static const BIGNUM _bignum_nist_p_521 =
263 const BIGNUM *BN_get0_nist_prime_192(void)
268 const BIGNUM *BN_get0_nist_prime_224(void)
273 const BIGNUM *BN_get0_nist_prime_256(void)
278 const BIGNUM *BN_get0_nist_prime_384(void)
283 const BIGNUM *BN_get0_nist_prime_521(void
    [all...]
bn_kron.c 63 int BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
68 BIGNUM *A, *B, *tmp;
70 * For any odd BIGNUM n,
exp.c 16 BIGNUM a,b,c,r,rr,t,l;
  /external/openssl/crypto/rsa/
rsa_crpt.c 165 static BIGNUM *rsa_get_public_exp(const BIGNUM *d, const BIGNUM *p,
166 const BIGNUM *q, BN_CTX *ctx)
168 BIGNUM *ret = NULL, *r0, *r1, *r2;
192 BIGNUM local_n;
193 BIGNUM *e,*n;
rsa.h 100 int (*rsa_mod_exp)(BIGNUM *r0,const BIGNUM *I,RSA *rsa,BN_CTX *ctx); /* Can be null */
101 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
102 const BIGNUM *m, BN_CTX *ctx,
126 int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
138 BIGNUM *n;
139 BIGNUM *e;
140 BIGNUM *d
    [all...]
rsa_null.c 81 static int RSA_null_mod_exp(const BIGNUM *r0, const BIGNUM *i, RSA *rsa);
136 static int RSA_null_mod_exp(BIGNUM *r0, BIGNUM *I, RSA *rsa)
  /system/core/adb/
adb_auth_host.c 69 BIGNUM* r32 = BN_new();
70 BIGNUM* rr = BN_new();
71 BIGNUM* r = BN_new();
72 BIGNUM* rem = BN_new();
73 BIGNUM* n = BN_new();
74 BIGNUM* n0inv = BN_new();
177 BIGNUM* exponent = BN_new();
  /external/openssh/
rsa.c 75 rsa_public_encrypt(BIGNUM *out, BIGNUM *in, RSA *key)
104 rsa_private_decrypt(BIGNUM *out, BIGNUM *in, RSA *key)
134 BIGNUM *aux;
monitor_wrap.c 182 BIGNUM *p, *g;
917 mm_ssh1_session_key(BIGNUM *num)
1083 mm_auth_rsa_key_allowed(struct passwd *pw, BIGNUM *client_n, Key **rkey)
1118 BIGNUM *
1122 BIGNUM *challenge;
1150 mm_auth_rsa_verify_response(Key *key, BIGNUM *p, u_char response[16])
1296 mm_auth2_jpake_get_pwdata(Authctxt *authctxt, BIGNUM **s,
1320 BIGNUM **priv1, BIGNUM **priv2, BIGNUM **g_priv1, BIGNUM **g_priv2
    [all...]
  /external/openssl/crypto/ec/
ec_cvt.c 76 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
151 EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
ec_print.c 59 BIGNUM *EC_POINT_point2bn(const EC_GROUP *group,
62 BIGNUM *ret,
90 const BIGNUM *bn,
185 BIGNUM *tmp_bn=NULL;
  /external/openssl/crypto/srp/
srp_vfy.c 207 static void SRP_user_pwd_set_gN(SRP_user_pwd *vinfo, const BIGNUM *g,
208 const BIGNUM *N)
237 static int SRP_user_pwd_set_sv_BN(SRP_user_pwd *vinfo, BIGNUM *s, BIGNUM *v)
329 static BIGNUM *SRP_gN_place_bn(STACK_OF(SRP_gN_cache) *gN_cache, char *ch)
530 BIGNUM *N_bn = NULL, *g_bn = NULL, *s = NULL, *v = NULL;
608 int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt, BIGNUM **verifier, BIGNUM *N, BIGNUM *g
    [all...]
  /external/v8/test/cctest/
test-strtod.cc 7 #include "bignum.h"
349 static int CompareBignumToDiyFp(const Bignum& bignum_digits,
352 Bignum bignum; local
353 bignum.AssignBignum(bignum_digits);
354 Bignum other;
357 bignum.MultiplyByPowerOfTen(bignum_exponent);
364 bignum.ShiftLeft(-diy_fp.e());
366 return Bignum::Compare(bignum, other)
    [all...]
  /external/openssl/include/openssl/
rsa.h 100 int (*rsa_mod_exp)(BIGNUM *r0,const BIGNUM *I,RSA *rsa,BN_CTX *ctx); /* Can be null */
101 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
102 const BIGNUM *m, BN_CTX *ctx,
126 int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
138 BIGNUM *n;
139 BIGNUM *e;
140 BIGNUM *d
    [all...]
  /external/dropbear/libtommath/
bn_mp_shrink.c 18 /* shrink a bignum */
  /external/openssl/crypto/asn1/
a_enum.c 138 ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai)
174 BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai, BIGNUM *bn)
176 BIGNUM *ret;
  /external/openssl/crypto/ecdsa/
ecs_locl.h 72 const BIGNUM *inv, const BIGNUM *rp, EC_KEY *eckey);
73 int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
74 BIGNUM **r);

Completed in 6505 milliseconds

1 2 34 5 6 7 8 91011>>