/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ec_local.h | 58 const BIGNUM *b, BN_CTX *); 60 BN_CTX *); 65 int (*group_check_discriminant) (const EC_GROUP *, BN_CTX *); 85 BN_CTX *); 87 BIGNUM *x, BIGNUM *y, BN_CTX *); 90 BN_CTX *); 94 size_t len, BN_CTX *); 96 size_t len, BN_CTX *); 99 const EC_POINT *b, BN_CTX *); 100 int (*dbl) (const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *); [all...] |
H A D | ec2_smpl.c | 103 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_group_set_curve() 142 BIGNUM *a, BIGNUM *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_group_get_curve() 181 BN_CTX *ctx) in ossl_ec_GF2m_simple_group_check_discriminant() 186 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_group_check_discriminant() 292 BN_CTX *ctx) in ossl_ec_GF2m_simple_point_set_affine_coordinates() 323 BN_CTX *ctx) in ossl_ec_GF2m_simple_point_get_affine_coordinates() 357 const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_add() 362 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_add() 478 const EC_POINT *a, BN_CTX *ctx) in ossl_ec_GF2m_simple_dbl() 484 BN_CTX *ct in ossl_ec_GF2m_simple_invert() [all...] |
H A D | ecp_mont.c | 144 BN_CTX *ctx) in ossl_ec_GFp_mont_group_set_curve() 146 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_mont_group_set_curve() 197 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GFp_mont_field_mul() 208 BN_CTX *ctx) in ossl_ec_GFp_mont_field_sqr() 224 BN_CTX *ctx) in ossl_ec_GFp_mont_field_inv() 227 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_mont_field_inv() 268 const BIGNUM *a, BN_CTX *ctx) in ossl_ec_GFp_mont_field_encode() 279 const BIGNUM *a, BN_CTX *ctx) in ossl_ec_GFp_mont_field_decode() 290 BN_CTX *ctx) in ossl_ec_GFp_mont_field_set_to_one()
|
H A D | ecp_nist.c | 94 BN_CTX *ctx) in ossl_ec_GFp_nist_group_set_curve() 97 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nist_group_set_curve() 129 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GFp_nist_field_mul() 132 BN_CTX *ctx_new = NULL; in ossl_ec_GFp_nist_field_mul() 154 BN_CTX *ctx) in ossl_ec_GFp_nist_field_sqr() 157 BN_CTX *ctx_new = NULL; in ossl_ec_GFp_nist_field_sqr()
|
/third_party/openssl/crypto/ec/ |
H A D | ec_local.h | 58 const BIGNUM *b, BN_CTX *); 60 BN_CTX *); 65 int (*group_check_discriminant) (const EC_GROUP *, BN_CTX *); 85 BN_CTX *); 87 BIGNUM *x, BIGNUM *y, BN_CTX *); 90 BN_CTX *); 94 size_t len, BN_CTX *); 96 size_t len, BN_CTX *); 99 const EC_POINT *b, BN_CTX *); 100 int (*dbl) (const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *); [all...] |
H A D | ec2_smpl.c | 103 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_group_set_curve() 142 BIGNUM *a, BIGNUM *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_group_get_curve() 181 BN_CTX *ctx) in ossl_ec_GF2m_simple_group_check_discriminant() 186 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_group_check_discriminant() 292 BN_CTX *ctx) in ossl_ec_GF2m_simple_point_set_affine_coordinates() 323 BN_CTX *ctx) in ossl_ec_GF2m_simple_point_get_affine_coordinates() 357 const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_add() 362 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_add() 478 const EC_POINT *a, BN_CTX *ctx) in ossl_ec_GF2m_simple_dbl() 484 BN_CTX *ct in ossl_ec_GF2m_simple_invert() [all...] |
H A D | ecp_mont.c | 144 BN_CTX *ctx) in ossl_ec_GFp_mont_group_set_curve() 146 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_mont_group_set_curve() 197 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GFp_mont_field_mul() 208 BN_CTX *ctx) in ossl_ec_GFp_mont_field_sqr() 224 BN_CTX *ctx) in ossl_ec_GFp_mont_field_inv() 227 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_mont_field_inv() 268 const BIGNUM *a, BN_CTX *ctx) in ossl_ec_GFp_mont_field_encode() 279 const BIGNUM *a, BN_CTX *ctx) in ossl_ec_GFp_mont_field_decode() 290 BN_CTX *ctx) in ossl_ec_GFp_mont_field_set_to_one()
|
H A D | ecp_nist.c | 94 BN_CTX *ctx) in ossl_ec_GFp_nist_group_set_curve() 97 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nist_group_set_curve() 129 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GFp_nist_field_mul() 132 BN_CTX *ctx_new = NULL; in ossl_ec_GFp_nist_field_mul() 154 BN_CTX *ctx) in ossl_ec_GFp_nist_field_sqr() 157 BN_CTX *ctx_new = NULL; in ossl_ec_GFp_nist_field_sqr()
|
/third_party/openssl/ohos_lite/crypto/ec/ |
H A D | ec_local.h | 54 const BIGNUM *b, BN_CTX *); 56 BN_CTX *); 61 int (*group_check_discriminant) (const EC_GROUP *, BN_CTX *); 82 const BIGNUM *z, BN_CTX *); 86 BN_CTX *); 89 BN_CTX *); 91 BIGNUM *x, BIGNUM *y, BN_CTX *); 94 BN_CTX *); 98 size_t len, BN_CTX *); 100 size_t len, BN_CTX *); [all...] |
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | bn.h | 201 BN_CTX *BN_CTX_new(void); 202 BN_CTX *BN_CTX_secure_new(void); 203 void BN_CTX_free(BN_CTX *c); 204 void BN_CTX_start(BN_CTX *ctx); 205 BIGNUM *BN_CTX_get(BN_CTX *ctx); 206 void BN_CTX_end(BN_CTX *ctx); 232 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); 233 int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); 246 BN_CTX *ctx); 248 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ct [all...] |
H A D | ec.h | 174 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx); 195 BN_CTX *ctx); 233 * \param ctx BN_CTX object (optional) 237 const BIGNUM *b, BN_CTX *ctx); 246 * \param ctx BN_CTX object (optional) 250 BN_CTX *ctx); 258 * \param ctx BN_CTX object (optional) 263 BN_CTX *ctx)) 271 * \param ctx BN_CTX object (optional) 276 BN_CTX *ct [all...] |
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | bn.h | 209 BN_CTX *BN_CTX_new_ex(OSSL_LIB_CTX *ctx); 210 BN_CTX *BN_CTX_new(void); 211 BN_CTX *BN_CTX_secure_new_ex(OSSL_LIB_CTX *ctx); 212 BN_CTX *BN_CTX_secure_new(void); 213 void BN_CTX_free(BN_CTX *c); 214 void BN_CTX_start(BN_CTX *ctx); 215 BIGNUM *BN_CTX_get(BN_CTX *ctx); 216 void BN_CTX_end(BN_CTX *ctx); 218 unsigned int strength, BN_CTX *ctx); 221 unsigned int strength, BN_CTX *ct [all...] |
H A D | ec.h | 239 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx); 260 BN_CTX *ctx); 310 * \param ctx BN_CTX object (optional) 314 const BIGNUM *b, BN_CTX *ctx); 323 * \param ctx BN_CTX object (optional) 327 BN_CTX *ctx); 336 * \param ctx BN_CTX object (optional) 343 BN_CTX *ctx); 351 * \param ctx BN_CTX object (optional) 357 BN_CTX *ct [all...] |
/third_party/openssl/include/openssl/ |
H A D | bn.h | 209 BN_CTX *BN_CTX_new_ex(OSSL_LIB_CTX *ctx); 210 BN_CTX *BN_CTX_new(void); 211 BN_CTX *BN_CTX_secure_new_ex(OSSL_LIB_CTX *ctx); 212 BN_CTX *BN_CTX_secure_new(void); 213 void BN_CTX_free(BN_CTX *c); 214 void BN_CTX_start(BN_CTX *ctx); 215 BIGNUM *BN_CTX_get(BN_CTX *ctx); 216 void BN_CTX_end(BN_CTX *ctx); 218 unsigned int strength, BN_CTX *ctx); 221 unsigned int strength, BN_CTX *ct [all...] |
H A D | ec.h | 239 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx); 260 BN_CTX *ctx); 310 * \param ctx BN_CTX object (optional) 314 const BIGNUM *b, BN_CTX *ctx); 323 * \param ctx BN_CTX object (optional) 327 BN_CTX *ctx); 336 * \param ctx BN_CTX object (optional) 343 BN_CTX *ctx); 351 * \param ctx BN_CTX object (optional) 357 BN_CTX *ct [all...] |
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | ec.rs | 27 ctx: *mut BN_CTX, in EC_GROUP_get_order() 33 ctx: *mut BN_CTX, in EC_GROUP_get_cofactor() 56 ctx: *mut BN_CTX, in EC_GROUP_get_curve_GFp() 65 ctx: *mut BN_CTX, in EC_GROUP_get_curve_GF2m() 77 ctx: *mut BN_CTX, in EC_GROUP_new_curve_GFp() 85 ctx: *mut BN_CTX, in EC_GROUP_new_curve_GF2m() 95 ctx: *mut BN_CTX, in EC_POINT_is_on_curve() 110 ctx: *mut BN_CTX, in EC_POINT_get_affine_coordinates() 118 ctx: *mut BN_CTX, in EC_POINT_get_affine_coordinates_GFp() 126 ctx: *mut BN_CTX, in EC_POINT_set_affine_coordinates_GFp() [all...] |
H A D | bn.rs | 5 pub fn BN_CTX_new() -> *mut BN_CTX; in BN_CTX_new() 7 pub fn BN_CTX_secure_new() -> *mut BN_CTX; in BN_CTX_secure_new() 8 pub fn BN_CTX_free(ctx: *mut BN_CTX); in BN_CTX_free() 30 pub fn BN_mul(r: *mut BIGNUM, a: *const BIGNUM, b: *const BIGNUM, ctx: *mut BN_CTX) -> c_int; in BN_mul() 31 pub fn BN_sqr(r: *mut BIGNUM, a: *const BIGNUM, ctx: *mut BN_CTX) -> c_int; in BN_sqr() 43 ctx: *mut BN_CTX, in BN_div() 49 ctx: *mut BN_CTX, in BN_nnmod() 56 ctx: *mut BN_CTX, in BN_mod_add() 63 ctx: *mut BN_CTX, in BN_mod_sub() 70 ctx: *mut BN_CTX, in BN_mod_mul() [all...] |
/third_party/node/deps/openssl/openssl/include/crypto/ |
H A D | bn.h | 75 BN_MONT_CTX *mont, BN_CTX *ctx); 77 BN_CTX *ctx); 79 BN_CTX *ctx); 84 int bn_mul_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); 85 int bn_sqr_fixed_top(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); 89 const BIGNUM *d, BN_CTX *ctx); 96 int ossl_bn_miller_rabin_is_prime(const BIGNUM *w, int iterations, BN_CTX *ctx, 105 const BIGNUM *e, BN_CTX *ctx, 110 int nlen, const BIGNUM *e, BN_CTX *ctx, 113 OSSL_LIB_CTX *ossl_bn_get_libctx(BN_CTX *ct [all...] |
/third_party/openssl/include/crypto/ |
H A D | bn.h | 75 BN_MONT_CTX *mont, BN_CTX *ctx); 77 BN_CTX *ctx); 79 BN_CTX *ctx); 84 int bn_mul_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); 85 int bn_sqr_fixed_top(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); 89 const BIGNUM *d, BN_CTX *ctx); 96 int ossl_bn_miller_rabin_is_prime(const BIGNUM *w, int iterations, BN_CTX *ctx, 105 const BIGNUM *e, BN_CTX *ctx, 110 int nlen, const BIGNUM *e, BN_CTX *ctx, 113 OSSL_LIB_CTX *ossl_bn_get_libctx(BN_CTX *ct [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_ctx.c | 59 /* BN_CTX */ 62 /* The opaque BN_CTX type */ 82 static void ctxdbg(BIO *channel, const char *text, BN_CTX *ctx) in ctxdbg() 110 OSSL_TRACE_BEGIN(BN_CTX) { \ 112 } OSSL_TRACE_END(BN_CTX) 118 BN_CTX *BN_CTX_new_ex(OSSL_LIB_CTX *ctx) in BN_CTX_new_ex() 120 BN_CTX *ret; in BN_CTX_new_ex() 134 BN_CTX *BN_CTX_new(void) in BN_CTX_new() 140 BN_CTX *BN_CTX_secure_new_ex(OSSL_LIB_CTX *ctx) in BN_CTX_secure_new_ex() 142 BN_CTX *re in BN_CTX_secure_new_ex() [all...] |
H A D | bn_prime.c | 23 BN_CTX *ctx); 26 BN_CTX *ctx); 27 static int bn_is_prime_int(const BIGNUM *w, int checks, BN_CTX *ctx, 125 BN_CTX *ctx) in BN_generate_prime_ex2() 216 BN_CTX *ctx = BN_CTX_new(); in BN_generate_prime_ex() 230 int BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, in BN_is_prime_ex() 236 int BN_is_prime_fasttest_ex(const BIGNUM *w, int checks, BN_CTX *ctx, in BN_is_prime_fasttest_ex() 244 int ossl_bn_check_prime(const BIGNUM *w, int checks, BN_CTX *ctx, in ossl_bn_check_prime() 255 int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb) in BN_check_prime() 266 static int bn_is_prime_int(const BIGNUM *w, int checks, BN_CTX *ct [all...] |
/third_party/openssl/crypto/bn/ |
H A D | bn_ctx.c | 59 /* BN_CTX */ 62 /* The opaque BN_CTX type */ 82 static void ctxdbg(BIO *channel, const char *text, BN_CTX *ctx) in ctxdbg() 110 OSSL_TRACE_BEGIN(BN_CTX) { \ 112 } OSSL_TRACE_END(BN_CTX) 118 BN_CTX *BN_CTX_new_ex(OSSL_LIB_CTX *ctx) in BN_CTX_new_ex() 120 BN_CTX *ret; in BN_CTX_new_ex() 134 BN_CTX *BN_CTX_new(void) in BN_CTX_new() 140 BN_CTX *BN_CTX_secure_new_ex(OSSL_LIB_CTX *ctx) in BN_CTX_secure_new_ex() 142 BN_CTX *re in BN_CTX_secure_new_ex() [all...] |
/third_party/openssl/ohos_lite/include/crypto/ |
H A D | bn.h | 74 BN_MONT_CTX *mont, BN_CTX *ctx); 76 BN_CTX *ctx); 78 BN_CTX *ctx); 83 int bn_mul_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); 84 int bn_sqr_fixed_top(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); 88 const BIGNUM *d, BN_CTX *ctx); 92 const BIGNUM *to_mod, BN_CTX *ctx,
|
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_local.h | 114 int (*rsa_mod_exp) (BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx); 117 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); 168 int ossl_rsa_get_lcm(BN_CTX *ctx, const BIGNUM *p, const BIGNUM *q, 173 int ossl_rsa_check_private_exponent(const RSA *rsa, int nbits, BN_CTX *ctx); 174 int ossl_rsa_check_prime_factor(BIGNUM *p, BIGNUM *e, int nbits, BN_CTX *ctx); 175 int ossl_rsa_check_prime_factor_range(const BIGNUM *p, int nbits, BN_CTX *ctx); 176 int ossl_rsa_check_crt_components(const RSA *rsa, BN_CTX *ctx); 178 int ossl_rsa_sp800_56b_pairwise_test(RSA *rsa, BN_CTX *ctx); 187 const BIGNUM *e, BN_CTX *ctx); 189 int nbits, const BIGNUM *e, BN_CTX *ct [all...] |
/third_party/openssl/crypto/rsa/ |
H A D | rsa_local.h | 114 int (*rsa_mod_exp) (BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx); 117 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); 168 int ossl_rsa_get_lcm(BN_CTX *ctx, const BIGNUM *p, const BIGNUM *q, 173 int ossl_rsa_check_private_exponent(const RSA *rsa, int nbits, BN_CTX *ctx); 174 int ossl_rsa_check_prime_factor(BIGNUM *p, BIGNUM *e, int nbits, BN_CTX *ctx); 175 int ossl_rsa_check_prime_factor_range(const BIGNUM *p, int nbits, BN_CTX *ctx); 176 int ossl_rsa_check_crt_components(const RSA *rsa, BN_CTX *ctx); 178 int ossl_rsa_sp800_56b_pairwise_test(RSA *rsa, BN_CTX *ctx); 187 const BIGNUM *e, BN_CTX *ctx); 189 int nbits, const BIGNUM *e, BN_CTX *ct [all...] |