/openssl-master/crypto/ec/ |
A D | ec_local.h | 73 int (*point_copy) (EC_POINT *, const EC_POINT *); 98 int (*add) (const EC_GROUP *, EC_POINT *r, const EC_POINT *a, 191 EC_POINT *r, EC_POINT *s, 194 EC_POINT *r, EC_POINT *s, 197 EC_POINT *r, EC_POINT *s, 373 int ossl_ec_GFp_simple_point_copy(EC_POINT *, const EC_POINT *); 421 EC_POINT *r, EC_POINT *s, 424 EC_POINT *r, EC_POINT *s, 427 EC_POINT *r, EC_POINT *s, 474 int ossl_ec_GF2m_simple_point_copy(EC_POINT *, const EC_POINT *); [all …]
|
A D | ec2_smpl.c | 222 int ossl_ec_GF2m_simple_point_init(EC_POINT *point) in ossl_ec_GF2m_simple_point_init() 238 void ossl_ec_GF2m_simple_point_finish(EC_POINT *point) in ossl_ec_GF2m_simple_point_finish() 258 int ossl_ec_GF2m_simple_point_copy(EC_POINT *dest, const EC_POINT *src) in ossl_ec_GF2m_simple_point_copy() 357 const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_add() 723 EC_POINT *r, EC_POINT *s, in ec_GF2m_simple_ladder_pre() 724 EC_POINT *p, BN_CTX *ctx) in ec_GF2m_simple_ladder_pre() 776 EC_POINT *r, EC_POINT *s, in ec_GF2m_simple_ladder_step() 777 EC_POINT *p, BN_CTX *ctx) in ec_GF2m_simple_ladder_step() 806 EC_POINT *r, EC_POINT *s, in ec_GF2m_simple_ladder_post() 870 const EC_POINT *points[], in ec_GF2m_simple_points_mul() [all …]
|
A D | ec_lib.c | 716 EC_POINT *EC_POINT_new(const EC_GROUP *group) in EC_POINT_new() 718 EC_POINT *ret; in EC_POINT_new() 746 void EC_POINT_free(EC_POINT *point) in EC_POINT_free() 756 void EC_POINT_clear_free(EC_POINT *point) in EC_POINT_clear_free() 768 int EC_POINT_copy(EC_POINT *dest, const EC_POINT *src) in EC_POINT_copy() 786 EC_POINT *EC_POINT_dup(const EC_POINT *a, const EC_GROUP *group) in EC_POINT_dup() 788 EC_POINT *t; in EC_POINT_dup() 938 int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, in EC_POINT_add() 953 int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, in EC_POINT_dbl() 1014 int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, in EC_POINT_cmp() [all …]
|
A D | ec_deprecated.c | 22 const EC_POINT *point, in EC_POINT_point2bn() 41 EC_POINT *EC_POINT_bn2point(const EC_GROUP *group, in EC_POINT_bn2point() 42 const BIGNUM *bn, EC_POINT *point, BN_CTX *ctx) in EC_POINT_bn2point() 46 EC_POINT *ret; in EC_POINT_bn2point()
|
A D | ec_oct.c | 24 int EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, in EC_POINT_set_compressed_coordinates() 57 EC_POINT *point, const BIGNUM *x, in EC_POINT_set_compressed_coordinates_GFp() 65 EC_POINT *point, const BIGNUM *x, 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() 105 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, in EC_POINT_oct2point() 133 size_t EC_POINT_point2buf(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_point2buf()
|
A D | ec_print.c | 18 const EC_POINT *point, in EC_POINT_point2hex() 49 EC_POINT *EC_POINT_hex2point(const EC_GROUP *group, in EC_POINT_hex2point() 50 const char *hex, EC_POINT *point, BN_CTX *ctx) in EC_POINT_hex2point() 55 EC_POINT *pt = NULL; in EC_POINT_hex2point()
|
A D | ec_mult.c | 100 EC_POINT **pts; in EC_ec_pre_comp_free() 150 EC_POINT *p = NULL; in ossl_ec_scalar_mul_ladder() 151 EC_POINT *s = NULL; in ossl_ec_scalar_mul_ladder() 414 const EC_POINT *generator = NULL; in ossl_ec_wNAF_mul() 415 EC_POINT *tmp = NULL; in ossl_ec_wNAF_mul() 428 EC_POINT **val = NULL; /* precomputation */ in ossl_ec_wNAF_mul() 429 EC_POINT **v; in ossl_ec_wNAF_mul() 598 EC_POINT **tmp_points; in ossl_ec_wNAF_mul() 832 const EC_POINT *generator; in ossl_ec_wNAF_precompute_mult() 836 EC_POINT **points = NULL; in ossl_ec_wNAF_precompute_mult() [all …]
|
A D | ecp_smpl.c | 322 int ossl_ec_GFp_simple_point_init(EC_POINT *point) in ossl_ec_GFp_simple_point_init() 338 void ossl_ec_GFp_simple_point_finish(EC_POINT *point) in ossl_ec_GFp_simple_point_finish() 345 void ossl_ec_GFp_simple_point_clear_finish(EC_POINT *point) in ossl_ec_GFp_simple_point_clear_finish() 353 int ossl_ec_GFp_simple_point_copy(EC_POINT *dest, const EC_POINT *src) in ossl_ec_GFp_simple_point_copy() 613 int ossl_ec_GFp_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, in ossl_ec_GFp_simple_add() 614 const EC_POINT *b, BN_CTX *ctx) in ossl_ec_GFp_simple_add() 798 int ossl_ec_GFp_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, in ossl_ec_GFp_simple_dbl() 1323 EC_POINT *p = points[i]; in ossl_ec_GFp_simple_points_make_affine() 1494 EC_POINT *r, EC_POINT *s, in ossl_ec_GFp_simple_ladder_pre() 1564 EC_POINT *r, EC_POINT *s, in ossl_ec_GFp_simple_ladder_step() [all …]
|
A D | ecdh_ossl.c | 29 const EC_POINT *pub_key, const EC_KEY *ecdh) in ossl_ecdh_compute_key() 50 const EC_POINT *pub_key, const EC_KEY *ecdh) in ossl_ecdh_simple_compute_key() 53 EC_POINT *tmp = NULL; in ossl_ecdh_simple_compute_key()
|
A D | ecp_s390x_nistp.c | 47 static int ec_GFp_s390x_nistp_mul(const EC_GROUP *group, EC_POINT *r, in ec_GFp_s390x_nistp_mul() 49 size_t num, const EC_POINT *points[], in ec_GFp_s390x_nistp_mul() 55 const EC_POINT *point_ptr = NULL; in ec_GFp_s390x_nistp_mul() 233 const EC_POINT *pubkey; in ecdsa_s390x_nistp_verify_sig() 287 EC_POINT *r, \ 290 const EC_POINT *points[], \
|
A D | ec_kmeth.c | 154 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, in ECDH_compute_key() 208 const EC_POINT *pub_key)) in EC_KEY_METHOD_set_init() 227 const EC_POINT *pub_key, in EC_KEY_METHOD_set_compute_key() 275 const EC_POINT *pub_key)) in EC_KEY_METHOD_get_init() 301 const EC_POINT *pub_key, in EC_KEY_METHOD_get_compute_key()
|
A D | ecp_nistz256.c | 619 const EC_POINT **point, in ecp_nistz256_windowed_mul() 804 static int ecp_nistz256_is_affine_G(const EC_POINT *generator) in ecp_nistz256_is_affine_G() 822 EC_POINT *P = NULL, *T = NULL; in ecp_nistz256_mult_precompute() 823 const EC_POINT *generator; in ecp_nistz256_mult_precompute() 953 EC_POINT *r, in ecp_nistz256_points_mul() 963 const EC_POINT *generator = NULL; in ecp_nistz256_points_mul() 965 const EC_POINT **new_points = NULL; in ecp_nistz256_points_mul() 998 EC_POINT *pre_comp_generator = EC_POINT_new(group); in ecp_nistz256_points_mul() 1138 memcpy(new_points, points, num * sizeof(EC_POINT *)); in ecp_nistz256_points_mul() 1176 const EC_POINT *point, in ecp_nistz256_get_affine() [all …]
|
A D | ec2_oct.c | 40 EC_POINT *point, in ossl_ec_GF2m_simple_set_compressed_coordinates() 126 const EC_POINT *point, in ossl_ec_GF2m_simple_point2oct() 256 int ossl_ec_GF2m_simple_oct2point(const EC_GROUP *group, EC_POINT *point, in ossl_ec_GF2m_simple_oct2point()
|
A D | ecp_oct.c | 23 EC_POINT *point, in ossl_ec_GFp_simple_set_compressed_coordinates() 159 size_t ossl_ec_GFp_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, in ossl_ec_GFp_simple_point2oct() 274 int ossl_ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, in ossl_ec_GFp_simple_oct2point()
|
A D | ec_key.c | 257 EC_POINT *pub_key = NULL; in ec_generate_key() 475 EC_POINT *point = NULL; in ossl_ec_key_public_check() 532 EC_POINT *point = NULL; in ossl_ec_key_pairwise_check() 603 EC_POINT *point = NULL; in EC_KEY_set_public_key_affine_coordinates() 780 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key) in EC_KEY_get0_public_key() 785 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub_key) in EC_KEY_set_public_key()
|
A D | ecdsa_ossl.c | 81 EC_POINT *tmp_point = NULL; in ecdsa_sign_setup() 363 EC_POINT *point = NULL; in ossl_ecdsa_simple_verify_sig() 365 const EC_POINT *pub_key; in ossl_ecdsa_simple_verify_sig()
|
A D | ec_check.c | 58 EC_POINT *point = NULL; in EC_GROUP_check()
|
/openssl-master/include/openssl/ |
A D | ec.h | 106 typedef struct ec_point_st EC_POINT; typedef 542 EC_POINT *EC_POINT_new(const EC_GROUP *group); 547 void EC_POINT_free(EC_POINT *point); 552 void EC_POINT_clear_free(EC_POINT *point); 559 int EC_POINT_copy(EC_POINT *dst, const EC_POINT *src); 567 EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group); 794 int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, 795 const EC_POINT *b, BN_CTX *ctx); 804 int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, 838 int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, [all …]
|
/openssl-master/doc/man3/ |
A D | EC_POINT_new.pod | 36 EC_POINT *EC_POINT_new(const EC_GROUP *group); 37 void EC_POINT_free(EC_POINT *point); 38 void EC_POINT_clear_free(EC_POINT *point); 39 int EC_POINT_copy(EC_POINT *dst, const EC_POINT *src); 40 EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group); 61 EC_POINT *p, BN_CTX *ctx); 67 EC_POINT *p, 81 EC_POINT *p, 98 EC_POINT *p, BN_CTX *ctx); 116 B<src> to the newly created B<EC_POINT> object. [all …]
|
A D | EC_POINT_add.pod | 11 int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, 12 const EC_POINT *b, BN_CTX *ctx); 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); 17 int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx); 18 int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, 19 const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx); 23 int EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx); 25 EC_POINT *points[], BN_CTX *ctx); [all …]
|
A D | EC_KEY_new.pod | 47 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); 48 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); 124 an EC_POINT on the curve calculated by multiplying the generator for the 131 on its affine co-ordinates; i.e., it constructs an EC_POINT object based on 133 EC_POINT. It also performs certain sanity checks on the key to confirm 139 and the EC_POINT public key for the I<key> respectively. 168 EC_POINT in I<eckey>.
|
/openssl-master/test/ |
A D | ecstresstest.c | 42 static BIGNUM *walk_curve(const EC_GROUP *group, EC_POINT *point, in walk_curve() 70 EC_POINT *point = NULL; in test_curve()
|
A D | sm2_internal_test.c | 88 EC_POINT *generator = NULL; in create_EC_group() 143 EC_POINT *pt = NULL; in test_sm2_crypt() 313 EC_POINT *pt = NULL; in test_sm2_sign()
|
A D | ectest.c | 43 const EC_POINT *G = NULL; in group_order_tests() 79 const EC_POINT *points[6]; in group_order_tests() 167 const EC_POINT *points[4]; in prime_field_tests() 788 const EC_POINT *points[3]; in char2_curve_test() 1091 EC_POINT *point = NULL; in hybrid_point_encoding_test() 1503 EC_POINT *other_gen = NULL; in check_named_curve_test() 1826 EC_POINT *other_gen = NULL; in check_named_curve_from_ecparameters() 2159 EC_POINT *g2_gen = NULL; in cardinality_test() 2346 const EC_POINT *G = NULL; in ec_point_hex2point_test() 2347 EC_POINT *P = NULL; in ec_point_hex2point_test() [all …]
|
/openssl-master/crypto/sm2/ |
A D | sm2_crypt.c | 125 const EC_POINT *P = EC_KEY_get0_public_key(key); in ossl_sm2_encrypt() 126 EC_POINT *kG = NULL; in ossl_sm2_encrypt() 127 EC_POINT *kP = NULL; in ossl_sm2_encrypt() 279 EC_POINT *C1 = NULL; in ossl_sm2_decrypt()
|