/openssl/crypto/ec/ |
H A D | ec_lib.c | 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() 318 static int ec_guess_cofactor(EC_GROUP *group) { in ec_guess_cofactor() 461 int EC_GROUP_order_bits(const EC_GROUP *group) in EC_GROUP_order_bits() 492 int EC_GROUP_get_curve_name(const EC_GROUP *group) in EC_GROUP_get_curve_name() 502 int EC_GROUP_get_field_type(const EC_GROUP *group) in EC_GROUP_get_field_type() 512 int EC_GROUP_get_asn1_flag(const EC_GROUP *group) in EC_GROUP_get_asn1_flag() 604 int EC_GROUP_get_degree(const EC_GROUP *group) in EC_GROUP_get_degree() 716 EC_POINT *EC_POINT_new(const EC_GROUP *group) in EC_POINT_new() [all …]
|
H A D | ec2_smpl.c | 28 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() 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() 477 int ossl_ec_GF2m_simple_dbl(const EC_GROUP *group, EC_POINT *r, in ossl_ec_GF2m_simple_dbl() 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 D | ecp_mont.c | 83 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() 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() 289 int ossl_ec_GFp_mont_field_set_to_one(const EC_GROUP *group, BIGNUM *r, in ossl_ec_GFp_mont_field_set_to_one()
|
H A D | ecp_smpl.c | 98 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() 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() 367 int ossl_ec_GFp_simple_point_set_to_infinity(const EC_GROUP *group, in ossl_ec_GFp_simple_point_set_to_infinity() 950 int ossl_ec_GFp_simple_is_at_infinity(const EC_GROUP *group, in ossl_ec_GFp_simple_is_at_infinity() 1383 int ossl_ec_GFp_simple_field_inv(const EC_GROUP *group, BIGNUM *r, in ossl_ec_GFp_simple_field_inv() 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 D | ec_oct.c | 24 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 D | ec_check.c | 19 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()
|
H A D | ecp_nist.c | 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 D | ec_deprecated.c | 21 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 D | ec_print.c | 16 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 D | ecp_oct.c | 22 int ossl_ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *group, 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()
|
H A D | ec2_oct.c | 39 int ossl_ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, in ossl_ec_GF2m_simple_set_compressed_coordinates() 125 size_t ossl_ec_GF2m_simple_point2oct(const EC_GROUP *group, 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()
|
H A D | ec_mult.c | 38 const EC_GROUP *group; /* parent EC_GROUP object */ member 50 static EC_PRE_COMP *ec_pre_comp_new(const EC_GROUP *group) in ec_pre_comp_new() 139 int ossl_ec_scalar_mul_ladder(const EC_GROUP *group, EC_POINT *r, in ossl_ec_scalar_mul_ladder() 404 int ossl_ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, in ossl_ec_wNAF_mul() 819 int ossl_ec_wNAF_precompute_mult(EC_GROUP *group, BN_CTX *ctx) in ossl_ec_wNAF_precompute_mult() 978 int ossl_ec_wNAF_have_precompute_mult(const EC_GROUP *group) in ossl_ec_wNAF_have_precompute_mult()
|
H A D | ecp_nistz256.c | 60 const EC_GROUP *group; /* Parent EC_GROUP object */ member 607 __owur static int ecp_nistz256_windowed_mul(const EC_GROUP *group, in ecp_nistz256_windowed_mul() 802 __owur static int ecp_nistz256_mult_precompute(EC_GROUP *group, BN_CTX *ctx) in ecp_nistz256_mult_precompute() 924 __owur static int ecp_nistz256_set_from_affine(EC_POINT *out, const EC_GROUP *group, in ecp_nistz256_set_from_affine() 939 __owur static int ecp_nistz256_points_mul(const EC_GROUP *group, in ecp_nistz256_points_mul() 1159 __owur static int ecp_nistz256_get_affine(const EC_GROUP *group, in ecp_nistz256_get_affine() 1203 static NISTZ256_PRE_COMP *ecp_nistz256_pre_comp_new(const EC_GROUP *group) in ecp_nistz256_pre_comp_new() 1252 static int ecp_nistz256_window_have_precompute_mult(const EC_GROUP *group) in ecp_nistz256_window_have_precompute_mult() 1279 static int ecp_nistz256_inv_mod_ord(const EC_GROUP *group, BIGNUM *r, in ecp_nistz256_inv_mod_ord() 1448 static int ecp_nistz256group_full_init(EC_GROUP *group, in ecp_nistz256group_full_init()
|
H A D | ecp_sm2p256.c | 460 static int ecp_sm2p256_get_affine(const EC_GROUP *group, in ecp_sm2p256_get_affine() 504 static int ecp_sm2p256_windowed_mul(const EC_GROUP *group, in ecp_sm2p256_windowed_mul() 566 static int ecp_sm2p256_points_mul(const EC_GROUP *group, in ecp_sm2p256_points_mul() 646 static int ecp_sm2p256_field_mul(const EC_GROUP *group, BIGNUM *r, in ecp_sm2p256_field_mul() 670 static int ecp_sm2p256_field_sqr(const EC_GROUP *group, BIGNUM *r, in ecp_sm2p256_field_sqr() 692 static int ecp_sm2p256_inv_mod_ord(const EC_GROUP *group, BIGNUM *r, in ecp_sm2p256_inv_mod_ord()
|
H 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() 136 const EC_GROUP *group; in ecdsa_s390x_nistp_sign_sig() local 232 const EC_GROUP *group; in ecdsa_s390x_nistp_verify_sig() local
|
/openssl/crypto/dh/ |
H A D | dh_group_params.c | 27 static DH *dh_param_init(OSSL_LIB_CTX *libctx, const DH_NAMED_GROUP *group) in dh_param_init() 42 const DH_NAMED_GROUP *group; in ossl_dh_new_by_nid_ex() local 58 const DH_NAMED_GROUP *group; in ossl_dh_cache_named_group() local
|
/openssl/crypto/ffc/ |
H A D | ffc_dh.c | 131 int ossl_ffc_named_group_get_uid(const DH_NAMED_GROUP *group) in ossl_ffc_named_group_get_uid() 138 const char *ossl_ffc_named_group_get_name(const DH_NAMED_GROUP *group) in ossl_ffc_named_group_get_name() 146 int ossl_ffc_named_group_get_keylength(const DH_NAMED_GROUP *group) in ossl_ffc_named_group_get_keylength() 153 const BIGNUM *ossl_ffc_named_group_get_q(const DH_NAMED_GROUP *group) in ossl_ffc_named_group_get_q() 160 int ossl_ffc_named_group_set(FFC_PARAMS *ffc, const DH_NAMED_GROUP *group) in ossl_ffc_named_group_set()
|
H A D | ffc_backend.c | 34 const DH_NAMED_GROUP *group = NULL; in ossl_ffc_params_fromdata() local
|
/openssl/test/ |
H A D | ec_internal_test.c | 26 static int group_field_tests(const EC_GROUP *group, BN_CTX *ctx) in group_field_tests() 81 EC_GROUP *group = NULL; in field_tests() local 222 EC_GROUP *group = NULL; in field_tests_default() local 511 static int montgomery_correctness_test(EC_GROUP *group) in montgomery_correctness_test() 536 EC_GROUP *group = NULL; in named_group_creation_test() local
|
H A D | ectest.c | 39 static int group_order_tests(EC_GROUP *group) in group_order_tests() 163 EC_GROUP *group = NULL; in prime_field_tests() local 785 EC_GROUP *group = NULL; in char2_curve_test() local 938 EC_GROUP *group = NULL; in char2_field_tests() local 1090 EC_GROUP *group = NULL; in hybrid_point_encoding_test() local 1139 EC_GROUP *group = NULL; in internal_curve_test() local 1159 EC_GROUP *group; in internal_curve_test_method() local 2239 EC_GROUP *group = NULL; in cofactor_range_test() local 2352 const EC_GROUP *group = NULL; in check_ec_key_field_public_range_test() local 2457 EC_GROUP *group = NULL; in ec_point_hex2point_test() local [all …]
|
H A D | ecstresstest.c | 42 static BIGNUM *walk_curve(const EC_GROUP *group, EC_POINT *point, in walk_curve() 69 EC_GROUP *group = NULL; in test_curve() local
|
H A D | sm2_internal_test.c | 89 EC_GROUP *group = NULL; in create_EC_group() local 134 static int test_sm2_crypt(const EC_GROUP *group, in test_sm2_crypt() 302 static int test_sm2_sign(const EC_GROUP *group, in test_sm2_sign()
|
/openssl/crypto/sm2/ |
H A D | sm2_key.c | 26 const EC_GROUP *group = NULL; in ossl_sm2_key_private_check() local
|
/openssl/providers/common/ |
H A D | securitycheck.c | 92 int ossl_ec_check_curve_allowed(const EC_GROUP *group) in ossl_ec_check_curve_allowed() 121 int ossl_ec_check_security_strength(const EC_GROUP *group, int protect) in ossl_ec_check_security_strength()
|
/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2text.c | 166 const DH_NAMED_GROUP *group = ossl_ffc_uid_to_dh_named_group(ffc->nid); in ffc_params_to_text() local 362 static int ec_param_explicit_curve_to_text(BIO *out, const EC_GROUP *group, in ec_param_explicit_curve_to_text() 389 static int ec_param_explicit_gen_to_text(BIO *out, const EC_GROUP *group, in ec_param_explicit_gen_to_text() 429 static int ec_param_explicit_to_text(BIO *out, const EC_GROUP *group, in ec_param_explicit_to_text() 470 static int ec_param_to_text(BIO *out, const EC_GROUP *group, in ec_param_to_text() 498 const EC_GROUP *group; in ec_to_text() local
|