HomeSort by relevance Sort by last modified time
    Searched refs:BN_CTX (Results 1 - 25 of 86) 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 230 * \param ctx BN_CTX object (optional)
233 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
238 * \param ctx BN_CTX object (optional)
241 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx);
270 * \param ctx BN_CTX object (optional)
273 int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
280 * \param ctx BN_CTX object (optional)
283 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx);
290 * \param ctx BN_CTX object (optional)
293 int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
    [all...]
ecp_nist.c 123 const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
126 BN_CTX *new_ctx = NULL;
162 const BIGNUM *b, BN_CTX *ctx)
165 BN_CTX *ctx_new=NULL;
188 BN_CTX *ctx)
191 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...]
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)
425 const BIGNUM *x_, int y_bit, BN_CTX *ctx)
427 BN_CTX *new_ctx = NULL;
499 unsigned char *buf, size_t len, BN_CTX *ctx)
502 BN_CTX *new_ctx = NULL
    [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)
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 230 * \param ctx BN_CTX object (optional)
233 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
238 * \param ctx BN_CTX object (optional)
241 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx);
270 * \param ctx BN_CTX object (optional)
273 int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
280 * \param ctx BN_CTX object (optional)
283 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx);
290 * \param ctx BN_CTX object (optional)
293 int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
    [all...]
bn.h 311 typedef struct bignum_ctx BN_CTX;
427 BN_CTX *BN_CTX_new(void);
429 void BN_CTX_init(BN_CTX *c);
431 void BN_CTX_free(BN_CTX *c);
432 void BN_CTX_start(BN_CTX *ctx);
433 BIGNUM *BN_CTX_get(BN_CTX *ctx);
434 void BN_CTX_end(BN_CTX *ctx);
454 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
455 int BN_sqr(BIGNUM *r, const BIGNUM *a,BN_CTX *ctx);
468 BN_CTX *ctx)
    [all...]
  /external/openssl/crypto/bn/
bn.h 311 typedef struct bignum_ctx BN_CTX;
427 BN_CTX *BN_CTX_new(void);
429 void BN_CTX_init(BN_CTX *c);
431 void BN_CTX_free(BN_CTX *c);
432 void BN_CTX_start(BN_CTX *ctx);
433 BIGNUM *BN_CTX_get(BN_CTX *ctx);
434 void BN_CTX_end(BN_CTX *ctx);
454 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
455 int BN_sqr(BIGNUM *r, const BIGNUM *a,BN_CTX *ctx);
468 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 133 const BIGNUM *m, BN_CTX *ctx,
183 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx)
213 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
218 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx)
240 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
245 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx)
298 const BIGNUM *e, BIGNUM *m, BN_CTX *ctx,
300 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)
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...]
bnspeed.c 168 void do_mul(BIGNUM *r,BIGNUM *a,BIGNUM *b,BN_CTX *ctx);
172 BN_CTX *ctx;
183 void do_mul(BIGNUM *r, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
divtest.c 26 BN_CTX *ctx=BN_CTX_new();
  /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 86 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 154 milliseconds

1 2 3 4