HomeSort by relevance Sort by last modified time
    Searched refs:BN_CTX (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /external/openssl/crypto/ec/
ec_lcl.h 100 int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
101 int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *);
107 int (*group_check_discriminant)(const EC_GROUP *, BN_CTX *);
124 const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *);
126 BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *);
128 const BIGNUM *x, const BIGNUM *y, BN_CTX *);
130 BIGNUM *x, BIGNUM *y, BN_CTX *);
132 const BIGNUM *x, int y_bit, BN_CTX *);
136 unsigned char *buf, size_t len, BN_CTX *);
138 const unsigned char *buf, size_t len, BN_CTX *);
    [all...]
ec.h 147 int EC_GROUP_get_order(const EC_GROUP *, BIGNUM *order, BN_CTX *);
148 int EC_GROUP_get_cofactor(const EC_GROUP *, BIGNUM *cofactor, BN_CTX *);
163 int EC_GROUP_set_curve_GFp(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
164 int EC_GROUP_get_curve_GFp(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *);
165 int EC_GROUP_set_curve_GF2m(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
166 int EC_GROUP_get_curve_GF2m(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *);
172 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx);
175 int EC_GROUP_check_discriminant(const EC_GROUP *, BN_CTX *);
178 int EC_GROUP_cmp(const EC_GROUP *, const EC_GROUP *, BN_CTX *);
182 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
    [all...]
ecp_nist.c 127 const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
130 BN_CTX *new_ctx = NULL;
188 const BIGNUM *b, BN_CTX *ctx)
191 BN_CTX *ctx_new=NULL;
214 BN_CTX *ctx)
217 BN_CTX *ctx_new=NULL;
ec_print.c 63 BN_CTX *ctx)
92 BN_CTX *ctx)
138 BN_CTX *ctx)
182 BN_CTX *ctx)
ec_check.c 59 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx)
63 BN_CTX *new_ctx = NULL;
ec_cvt.c 76 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
126 EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
ec_lib.c 319 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx)
328 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx)
407 int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
418 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
429 int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
440 int EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
462 int EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx)
473 int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx)
477 BN_CTX *ctx_new = NULL;
810 const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx
    [all...]
ecp_mont.c 197 int ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
199 BN_CTX *new_ctx = NULL;
257 int ec_GFp_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
269 int ec_GFp_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
281 int ec_GFp_mont_field_encode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
293 int ec_GFp_mont_field_decode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
305 int ec_GFp_mont_field_set_to_one(const EC_GROUP *group, BIGNUM *r, BN_CTX *ctx)
ec2_smpl.c 189 const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
221 int ec_GF2m_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
257 int ec_GF2m_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx)
261 BN_CTX *new_ctx = NULL;
350 const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
377 BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
423 unsigned char *buf, size_t len, BN_CTX *ctx)
426 BN_CTX *new_ctx = NULL;
565 const unsigned char *buf, size_t len, BN_CTX *ctx)
569 BN_CTX *new_ctx = NULL
    [all...]
ec2_smpt.c 70 const BIGNUM *x_, int y_bit, BN_CTX *ctx)
76 BN_CTX *new_ctx = NULL;
ecp_smpl.c 169 const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
172 BN_CTX *new_ctx = NULL;
223 int ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
226 BN_CTX *new_ctx = NULL;
280 int ec_GFp_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx)
285 BN_CTX *new_ctx = NULL;
395 const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx)
397 BN_CTX *new_ctx = NULL;
455 BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx)
457 BN_CTX *new_ctx = NULL
    [all...]
  /external/openssl/include/openssl/
ec.h 147 int EC_GROUP_get_order(const EC_GROUP *, BIGNUM *order, BN_CTX *);
148 int EC_GROUP_get_cofactor(const EC_GROUP *, BIGNUM *cofactor, BN_CTX *);
163 int EC_GROUP_set_curve_GFp(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
164 int EC_GROUP_get_curve_GFp(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *);
165 int EC_GROUP_set_curve_GF2m(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
166 int EC_GROUP_get_curve_GF2m(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *);
172 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx);
175 int EC_GROUP_check_discriminant(const EC_GROUP *, BN_CTX *);
178 int EC_GROUP_cmp(const EC_GROUP *, const EC_GROUP *, BN_CTX *);
182 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
    [all...]
bn.h 281 typedef struct bignum_ctx BN_CTX;
401 BN_CTX *BN_CTX_new(void);
403 void BN_CTX_init(BN_CTX *c);
405 void BN_CTX_free(BN_CTX *c);
406 void BN_CTX_start(BN_CTX *ctx);
407 BIGNUM *BN_CTX_get(BN_CTX *ctx);
408 void BN_CTX_end(BN_CTX *ctx);
428 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
429 int BN_sqr(BIGNUM *r, const BIGNUM *a,BN_CTX *ctx);
442 BN_CTX *ctx)
    [all...]
  /external/openssl/crypto/bn/
bn.h 281 typedef struct bignum_ctx BN_CTX;
401 BN_CTX *BN_CTX_new(void);
403 void BN_CTX_init(BN_CTX *c);
405 void BN_CTX_free(BN_CTX *c);
406 void BN_CTX_start(BN_CTX *ctx);
407 BIGNUM *BN_CTX_get(BN_CTX *ctx);
408 void BN_CTX_end(BN_CTX *ctx);
428 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
429 int BN_sqr(BIGNUM *r, const BIGNUM *a,BN_CTX *ctx);
442 BN_CTX *ctx)
    [all...]
bn_mod.c 119 int BN_mod(BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
127 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
141 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx)
159 int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx)
179 BN_CTX *ctx)
203 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
211 int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
231 int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx)
bn_blind.c 130 const BIGNUM *m, BN_CTX *ctx,
179 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx)
209 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
214 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx)
236 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
241 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx)
287 const BIGNUM *e, /* const */ BIGNUM *m, BN_CTX *ctx,
289 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx),
bn_depr.c 95 BN_CTX *ctx_passed, void *cb_arg)
104 BN_CTX *ctx_passed, void *cb_arg,
bn_prime.c 130 const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont);
133 const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
135 const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
165 BN_CTX *ctx;
238 int BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, BN_GENCB *cb)
243 int BN_is_prime_fasttest_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed,
248 BN_CTX *ctx = NULL;
353 const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont)
407 const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx)
445 const BIGNUM *rem, BN_CTX *ctx
    [all...]
bn_ctx.c 1 /* crypto/bn/bn_ctx.c */
78 * BN_CTX doesn't show this to be a big issue.
135 /* BN_CTX */
138 /* The opaque BN_CTX type */
153 /* Enable this to find BN_CTX bugs */
156 static void ctxdbg(BN_CTX *ctx)
200 void BN_CTX_init(BN_CTX *ctx)
214 BN_CTX *BN_CTX_new(void)
216 BN_CTX *ret = OPENSSL_malloc(sizeof(BN_CTX));
    [all...]
bn_recp.c 94 int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *d, BN_CTX *ctx)
104 BN_RECP_CTX *recp, BN_CTX *ctx)
131 BN_RECP_CTX *recp, BN_CTX *ctx)
217 int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx)
bn_x931p.c 69 static int bn_x931_derive_pi(BIGNUM *pi, const BIGNUM *Xpi, BN_CTX *ctx,
98 const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb)
196 int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx)
246 const BIGNUM *e, BN_CTX *ctx,
bntest.c 97 int test_lshift(BIO *bp,BN_CTX *ctx,BIGNUM *a_);
99 int test_rshift(BIO *bp,BN_CTX *ctx);
100 int test_div(BIO *bp,BN_CTX *ctx);
102 int test_div_recp(BIO *bp,BN_CTX *ctx);
104 int test_sqr(BIO *bp,BN_CTX *ctx);
105 int test_mont(BIO *bp,BN_CTX *ctx);
106 int test_mod(BIO *bp,BN_CTX *ctx);
107 int test_mod_mul(BIO *bp,BN_CTX *ctx);
108 int test_mod_exp(BIO *bp,BN_CTX *ctx);
109 int test_mod_exp_mont_consttime(BIO *bp,BN_CTX *ctx)
    [all...]
  /prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/lib/gcc/i686-unknown-linux-gnu/4.2.1/include/openssl/
bn.h 280 typedef struct bignum_ctx BN_CTX;
395 BN_CTX *BN_CTX_new(void);
397 void BN_CTX_init(BN_CTX *c);
399 void BN_CTX_free(BN_CTX *c);
400 void BN_CTX_start(BN_CTX *ctx);
401 BIGNUM *BN_CTX_get(BN_CTX *ctx);
402 void BN_CTX_end(BN_CTX *ctx);
422 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
423 int BN_sqr(BIGNUM *r, const BIGNUM *a,BN_CTX *ctx);
430 BN_CTX *ctx)
    [all...]
  /external/openssl/crypto/dsa/
dsa_sign.c 84 int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
  /external/openssl/crypto/ecdsa/
ecs_locl.h 73 int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,

Completed in 816 milliseconds

1 2 3 4