/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 *); 112 int (*group_check_discriminant)(const EC_GROUP *, BN_CTX *); 129 const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *); 131 BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *); 133 const BIGNUM *x, const BIGNUM *y, BN_CTX *); 135 BIGNUM *x, BIGNUM *y, BN_CTX *); 137 const BIGNUM *x, int y_bit, BN_CTX *); 141 unsigned char *buf, size_t len, BN_CTX *); 143 const unsigned char *buf, size_t len, BN_CTX *); [all...] |
ec.h | 249 * \param ctx BN_CTX object (optional) 252 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx); 257 * \param ctx BN_CTX object (optional) 260 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx); 289 * \param ctx BN_CTX object (optional) 292 int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); 299 * \param ctx BN_CTX object (optional) 302 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx); 310 * \param ctx BN_CTX object (optional) 313 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 | 130 const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) 133 BN_CTX *new_ctx = NULL; 169 const BIGNUM *b, BN_CTX *ctx) 172 BN_CTX *ctx_new=NULL; 195 BN_CTX *ctx) 198 BN_CTX *ctx_new=NULL;
|
ec_print.c | 63 BN_CTX *ctx) 92 BN_CTX *ctx) 138 BN_CTX *ctx) 182 BN_CTX *ctx)
|
ec2_smpl.c | 198 const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) 230 int ec_GF2m_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) 266 int ec_GF2m_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) 270 BN_CTX *new_ctx = NULL; 359 const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) 386 BIGNUM *x, BIGNUM *y, BN_CTX *ctx) 420 int ec_GF2m_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) 422 BN_CTX *new_ctx = NULL; 522 int ec_GF2m_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) 528 int ec_GF2m_simple_invert(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx [all...] |
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) 151 EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
|
ecp_mont.c | 204 int ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) 206 BN_CTX *new_ctx = NULL; 264 int ec_GFp_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) 276 int ec_GFp_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) 288 int ec_GFp_mont_field_encode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) 300 int ec_GFp_mont_field_decode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) 312 int ec_GFp_mont_field_set_to_one(const EC_GROUP *group, BIGNUM *r, BN_CTX *ctx)
|
ecp_smpl.c | 176 const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) 179 BN_CTX *new_ctx = NULL; 230 int ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) 233 BN_CTX *new_ctx = NULL; 287 int ec_GFp_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) 292 BN_CTX *new_ctx = NULL; 402 const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx) 404 BN_CTX *new_ctx = NULL; 462 BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx) 464 BN_CTX *new_ctx = NULL [all...] |
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...] |
ec_oct.c | 72 const BIGNUM *x, int y_bit, BN_CTX *ctx) 106 const BIGNUM *x, int y_bit, BN_CTX *ctx) 133 unsigned char *buf, size_t len, BN_CTX *ctx) 168 const unsigned char *buf, size_t len, BN_CTX *ctx)
|
ec2_oct.c | 92 const BIGNUM *x_, int y_bit, BN_CTX *ctx) 94 BN_CTX *new_ctx = NULL; 166 unsigned char *buf, size_t len, BN_CTX *ctx) 169 BN_CTX *new_ctx = NULL; 298 const unsigned char *buf, size_t len, BN_CTX *ctx) 302 BN_CTX *new_ctx = NULL;
|
ecp_oct.c | 71 const BIGNUM *x_, int y_bit, BN_CTX *ctx) 73 BN_CTX *new_ctx = NULL; 200 unsigned char *buf, size_t len, BN_CTX *ctx) 203 BN_CTX *new_ctx = NULL; 326 const unsigned char *buf, size_t len, BN_CTX *ctx) 330 BN_CTX *new_ctx = NULL;
|
/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, 186 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx) 219 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) 224 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) 252 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) 257 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) 307 const BIGNUM *e, BIGNUM *m, BN_CTX *ctx, 309 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)
|
/external/openssl/include/openssl/ |
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...] |
ec.h | 249 * \param ctx BN_CTX object (optional) 252 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx); 257 * \param ctx BN_CTX object (optional) 260 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx); 289 * \param ctx BN_CTX object (optional) 292 int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); 299 * \param ctx BN_CTX object (optional) 302 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx); 310 * \param ctx BN_CTX object (optional) 313 int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) [all...] |
/external/openssl/crypto/ecdsa/ |
ecs_locl.h | 73 int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
|