Home
last modified time | relevance | path

Searched refs:EC_GROUP (Results 1 – 25 of 68) sorted by relevance

123

/openssl/crypto/ec/
H A Dec_local.h52 int (*group_init) (EC_GROUP *);
53 void (*group_finish) (EC_GROUP *);
54 void (*group_clear_finish) (EC_GROUP *);
55 int (*group_copy) (EC_GROUP *, const EC_GROUP *);
62 int (*group_get_degree) (const EC_GROUP *);
294 EC_GROUP *group;
344 void EC_pre_comp_free(EC_GROUP *group);
366 int ossl_ec_GFp_simple_group_copy(EC_GROUP *, const EC_GROUP *);
441 int ossl_ec_GFp_mont_group_copy(EC_GROUP *, const EC_GROUP *);
455 int ossl_ec_GFp_nist_group_copy(EC_GROUP *dest, const EC_GROUP *src);
[all …]
H A Dec_lib.c32 EC_GROUP *ret; in ossl_ec_group_new_ex()
85 void EC_pre_comp_free(EC_GROUP *group) in EC_pre_comp_free()
122 void EC_GROUP_free(EC_GROUP *group) in EC_GROUP_free()
141 void EC_GROUP_clear_free(EC_GROUP *group) in EC_GROUP_clear_free()
161 int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) in EC_GROUP_copy()
268 EC_GROUP *EC_GROUP_dup(const EC_GROUP *a) in EC_GROUP_dup()
270 EC_GROUP *t = NULL; in EC_GROUP_dup()
622 int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx) in EC_GROUP_cmp()
1404 static EC_GROUP *ec_group_explicit_to_named(const EC_GROUP *group, in ec_group_explicit_to_named()
1544 EC_GROUP *group = NULL; in EC_GROUP_new_from_params()
[all …]
H A Decp_mont.c83 int ossl_ec_GFp_mont_group_init(EC_GROUP *group) in ossl_ec_GFp_mont_group_init()
93 void ossl_ec_GFp_mont_group_finish(EC_GROUP *group) in ossl_ec_GFp_mont_group_finish()
102 void ossl_ec_GFp_mont_group_clear_finish(EC_GROUP *group) in ossl_ec_GFp_mont_group_clear_finish()
111 int ossl_ec_GFp_mont_group_copy(EC_GROUP *dest, const EC_GROUP *src) in ossl_ec_GFp_mont_group_copy()
142 int ossl_ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p, in ossl_ec_GFp_mont_group_set_curve()
196 int ossl_ec_GFp_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, in ossl_ec_GFp_mont_field_mul()
207 int ossl_ec_GFp_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, in ossl_ec_GFp_mont_field_sqr()
223 int ossl_ec_GFp_mont_field_inv(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, in ossl_ec_GFp_mont_field_inv()
267 int ossl_ec_GFp_mont_field_encode(const EC_GROUP *group, BIGNUM *r, in ossl_ec_GFp_mont_field_encode()
278 int ossl_ec_GFp_mont_field_decode(const EC_GROUP *group, BIGNUM *r, in ossl_ec_GFp_mont_field_decode()
[all …]
H A Dec2_smpl.c28 int ossl_ec_GF2m_simple_group_init(EC_GROUP *group) in ossl_ec_GF2m_simple_group_init()
47 void ossl_ec_GF2m_simple_group_finish(EC_GROUP *group) in ossl_ec_GF2m_simple_group_finish()
58 void ossl_ec_GF2m_simple_group_clear_finish(EC_GROUP *group) in ossl_ec_GF2m_simple_group_clear_finish()
75 int ossl_ec_GF2m_simple_group_copy(EC_GROUP *dest, const EC_GROUP *src) in ossl_ec_GF2m_simple_group_copy()
101 int ossl_ec_GF2m_simple_group_set_curve(EC_GROUP *group, in ossl_ec_GF2m_simple_group_set_curve()
171 int ossl_ec_GF2m_simple_group_get_degree(const EC_GROUP *group) in ossl_ec_GF2m_simple_group_get_degree()
356 int ossl_ec_GF2m_simple_add(const EC_GROUP *group, EC_POINT *r, in ossl_ec_GF2m_simple_add()
497 int ossl_ec_GF2m_simple_is_at_infinity(const EC_GROUP *group, in ossl_ec_GF2m_simple_is_at_infinity()
722 int ec_GF2m_simple_ladder_pre(const EC_GROUP *group, in ec_GF2m_simple_ladder_pre()
775 int ec_GF2m_simple_ladder_step(const EC_GROUP *group, in ec_GF2m_simple_ladder_step()
[all …]
H A Dec_cvt.c21 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, in EC_GROUP_new_curve_GFp()
25 EC_GROUP *ret; in EC_GROUP_new_curve_GFp()
70 EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, in EC_GROUP_new_curve_GF2m()
74 EC_GROUP *ret; in EC_GROUP_new_curve_GF2m()
H A Dec_oct.c24 int EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, in EC_POINT_set_compressed_coordinates()
56 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, in EC_POINT_set_compressed_coordinates_GFp()
64 int EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group, in EC_POINT_set_compressed_coordinates_GF2m()
73 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_point2oct()
109 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, in EC_POINT_oct2point()
137 size_t EC_POINT_point2buf(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_point2buf()
H A Decp_nist.c85 int ossl_ec_GFp_nist_group_copy(EC_GROUP *dest, const EC_GROUP *src) in ossl_ec_GFp_nist_group_copy()
92 int ossl_ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p, in ossl_ec_GFp_nist_group_set_curve()
128 int ossl_ec_GFp_nist_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, in ossl_ec_GFp_nist_field_mul()
153 int ossl_ec_GFp_nist_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, in ossl_ec_GFp_nist_field_sqr()
H A Decp_smpl.c98 int ossl_ec_GFp_simple_group_init(EC_GROUP *group) in ossl_ec_GFp_simple_group_init()
113 void ossl_ec_GFp_simple_group_finish(EC_GROUP *group) in ossl_ec_GFp_simple_group_finish()
120 void ossl_ec_GFp_simple_group_clear_finish(EC_GROUP *group) in ossl_ec_GFp_simple_group_clear_finish()
127 int ossl_ec_GFp_simple_group_copy(EC_GROUP *dest, const EC_GROUP *src) in ossl_ec_GFp_simple_group_copy()
141 int ossl_ec_GFp_simple_group_set_curve(EC_GROUP *group, in ossl_ec_GFp_simple_group_set_curve()
245 int ossl_ec_GFp_simple_group_get_degree(const EC_GROUP *group) in ossl_ec_GFp_simple_group_get_degree()
616 int (*field_mul) (const EC_GROUP *, BIGNUM *, const BIGNUM *, in ossl_ec_GFp_simple_add()
950 int ossl_ec_GFp_simple_is_at_infinity(const EC_GROUP *group, in ossl_ec_GFp_simple_is_at_infinity()
1493 int ossl_ec_GFp_simple_ladder_pre(const EC_GROUP *group, in ossl_ec_GFp_simple_ladder_pre()
1563 int ossl_ec_GFp_simple_ladder_step(const EC_GROUP *group, in ossl_ec_GFp_simple_ladder_step()
[all …]
H A Dec_asn1.c182 static int ec_asn1_group2fieldid(const EC_GROUP *, X9_62_FIELDID *);
184 static int ec_asn1_group2curve(const EC_GROUP *, X9_62_CURVE *);
381 ECPARAMETERS *EC_GROUP_get_ecparameters(const EC_GROUP *group, in EC_GROUP_get_ecparameters()
467 ECPKPARAMETERS *EC_GROUP_get_ecpkparameters(const EC_GROUP *group, in EC_GROUP_get_ecpkparameters()
523 EC_GROUP *ret = NULL, *dup = NULL; in EC_GROUP_new_from_ecparameters()
787 EC_GROUP *named_group = NULL; in EC_GROUP_new_from_ecparameters()
848 EC_GROUP *ret = NULL; in EC_GROUP_new_from_ecpkparameters()
885 EC_GROUP *d2i_ECPKParameters(EC_GROUP **a, const unsigned char **in, long len) in d2i_ECPKParameters()
887 EC_GROUP *group = NULL; in d2i_ECPKParameters()
914 int i2d_ECPKParameters(const EC_GROUP *a, unsigned char **out) in i2d_ECPKParameters()
[all …]
H A Dec_deprecated.c21 BIGNUM *EC_POINT_point2bn(const EC_GROUP *group, in EC_POINT_point2bn()
41 EC_POINT *EC_POINT_bn2point(const EC_GROUP *group, in EC_POINT_bn2point()
H A Dec_print.c16 char *EC_POINT_point2hex(const EC_GROUP *group, in EC_POINT_point2hex()
43 EC_POINT *EC_POINT_hex2point(const EC_GROUP *group, in EC_POINT_hex2point()
H A Dec_check.c19 int EC_GROUP_check_named_curve(const EC_GROUP *group, int nist_only, in EC_GROUP_check_named_curve()
46 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx) in EC_GROUP_check()
/openssl/include/openssl/
H A Dec.h110 typedef struct ec_group_st EC_GROUP; typedef
197 void EC_GROUP_free(EC_GROUP *group);
204 int EC_GROUP_copy(EC_GROUP *dst, const EC_GROUP *src);
211 EC_GROUP *EC_GROUP_dup(const EC_GROUP *src);
254 int EC_GROUP_order_bits(const EC_GROUP *group);
303 size_t EC_GROUP_get_seed_len(const EC_GROUP *);
398 int EC_GROUP_get_degree(const EC_GROUP *group);
420 int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx);
499 EC_GROUP *EC_GROUP_new_by_curve_name(int nid);
563 EC_POINT *EC_POINT_new(const EC_GROUP *group);
[all …]
/openssl/doc/man3/
H A DEC_GROUP_copy.pod17 - Functions for manipulating EC_GROUP objects
23 int EC_GROUP_copy(EC_GROUP *dst, const EC_GROUP *src);
24 EC_GROUP *EC_GROUP_dup(const EC_GROUP *src);
32 int EC_GROUP_order_bits(const EC_GROUP *group);
38 int EC_GROUP_get_curve_name(const EC_GROUP *group);
41 int EC_GROUP_get_asn1_flag(const EC_GROUP *group);
50 int EC_GROUP_get_degree(const EC_GROUP *group);
58 int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx);
60 int EC_GROUP_get_basis_type(const EC_GROUP *group);
65 int EC_GROUP_get_field_type(const EC_GROUP *group);
[all …]
H A DEC_GROUP_new.pod26 Functions for creating and destroying EC_GROUP objects
32 EC_GROUP *EC_GROUP_new_from_params(const OSSL_PARAM params[],
38 void EC_GROUP_free(EC_GROUP *group);
46 EC_GROUP *EC_GROUP_new_by_curve_name(int nid);
53 ECPARAMETERS *EC_GROUP_get_ecparameters(const EC_GROUP *group,
65 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth);
66 void EC_GROUP_clear_free(EC_GROUP *group);
68 int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p,
70 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p,
72 int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p,
[all …]
H A DEC_POINT_add.pod11 int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a,
13 int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx);
14 int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx);
15 int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *p);
16 int EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx);
18 int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n,
25 int EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx);
26 int EC_POINTs_make_affine(const EC_GROUP *group, size_t num,
28 int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, size_t num,
30 int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
[all …]
H A DEC_POINT_new.pod36 EC_POINT *EC_POINT_new(const EC_GROUP *group);
40 EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group);
41 int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point);
50 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *p,
56 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *p,
58 char *EC_POINT_point2hex(const EC_GROUP *group, const EC_POINT *p,
68 int EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group,
72 int EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group,
79 int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group,
82 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group,
[all …]
H A DECPKParameters_print.pod16 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off);
17 int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off);
25 B<EC_GROUP> structure, which represents a curve.
28 a human-readable output of the public parameters of the EC_GROUP to B<bp>
H A DPEM_read_CMS.pod66 EC_GROUP *PEM_read_ECPKParameters(FILE *fp, EC_GROUP **x, pem_password_cb *cb, void *u);
67 EC_GROUP *PEM_read_bio_ECPKParameters(BIO *bp, EC_GROUP **x, pem_password_cb *cb, void *u);
68 int PEM_write_ECPKParameters(FILE *out, const EC_GROUP *x);
69 int PEM_write_bio_ECPKParameters(BIO *out, const EC_GROUP *x),
/openssl/test/
H A Dsm2_internal_test.c76 static EC_GROUP *create_EC_group(const char *p_hex, const char *a_hex, in create_EC_group()
89 EC_GROUP *group = NULL; in create_EC_group()
134 static int test_sm2_crypt(const EC_GROUP *group, in test_sm2_crypt()
212 EC_GROUP *gm_group = NULL; in sm2_crypt_test()
213 EC_GROUP *test_group = in sm2_crypt_test()
302 static int test_sm2_sign(const EC_GROUP *group, in test_sm2_sign()
376 EC_GROUP *gm_group = NULL; in sm2_sig_test()
378 EC_GROUP *test_group = in sm2_sig_test()
H A Dec_internal_test.c26 static int group_field_tests(const EC_GROUP *group, BN_CTX *ctx) in group_field_tests()
81 EC_GROUP *group = NULL; in field_tests()
165 EC_GROUP *group1 = NULL, *group2 = NULL, *group3 = NULL; in ec2m_field_sanity()
222 EC_GROUP *group = NULL; in field_tests_default()
250 EC_GROUP *grp = NULL; in underflow_test()
351 EC_GROUP *grp; in decoded_flag_test()
352 EC_GROUP *grp_copy = NULL; in decoded_flag_test()
449 EC_GROUP *g1 = NULL, *g2 = NULL; in ecpkparams_i2d2i_test()
511 static int montgomery_correctness_test(EC_GROUP *group) in montgomery_correctness_test()
536 EC_GROUP *group = NULL; in named_group_creation_test()
H A Decstresstest.c42 static BIGNUM *walk_curve(const EC_GROUP *group, EC_POINT *point, in walk_curve()
69 EC_GROUP *group = NULL; in test_curve()
/openssl/include/crypto/
H A Dec.h50 __owur int ossl_ec_group_do_inverse_ord(const EC_GROUP *group, BIGNUM *res,
71 int ossl_ec_group_todata(const EC_GROUP *group, OSSL_PARAM_BLD *tmpl,
76 int ossl_ec_group_set_params(EC_GROUP *group, const OSSL_PARAM params[]);
/openssl/providers/common/include/prov/
H A Dsecuritycheck.h22 int ossl_ec_check_curve_allowed(const EC_GROUP *group);
23 int ossl_ec_check_security_strength(const EC_GROUP *group, int protect);
/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c121 const EC_GROUP *ecg = NULL; in key_to_params()
335 const EC_GROUP *group_a = EC_KEY_get0_group(ec1); in ec_match()
336 const EC_GROUP *group_b = EC_KEY_get0_group(ec2); in ec_match()
380 const EC_GROUP *ecg = NULL; in common_check_sm2()
643 const EC_GROUP *ecg = NULL; in common_get_params()
993 EC_GROUP *gen_group;
1043 EC_GROUP *group; in ec_gen_set_group()
1059 const EC_GROUP *ec_group; in ec_gen_set_template()
1110 EC_GROUP *group = NULL; in ec_gen_set_params()
1148 EC_GROUP *group = NULL; in ec_gen_set_group_from_params()
[all …]

Completed in 64 milliseconds

123