Home
last modified time | relevance | path

Searched refs:ecg (Results 1 – 4 of 4) sorted by relevance

/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c121 const EC_GROUP *ecg = NULL; in key_to_params() local
127 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in key_to_params()
225 ecbits = EC_GROUP_order_bits(ecg); in key_to_params()
380 const EC_GROUP *ecg = NULL; in common_check_sm2() local
386 if ((ecg = EC_KEY_get0_group(ec)) == NULL in common_check_sm2()
643 const EC_GROUP *ecg = NULL; in common_get_params() local
650 ecg = EC_KEY_get0_group(eck); in common_get_params()
651 if (ecg == NULL) { in common_get_params()
673 ecbits = EC_GROUP_order_bits(ecg); in common_get_params()
749 p->return_size = EC_POINT_point2oct(ecg, ecp, in common_get_params()
[all …]
/openssl/crypto/ec/
H A Dec_backend.c361 const EC_GROUP *ecg = EC_KEY_get0_group(ec); in ossl_ec_set_ecdh_cofactor_mode() local
373 if ((cofactor = EC_GROUP_get0_cofactor(ecg)) == NULL ) in ossl_ec_set_ecdh_cofactor_mode()
403 const EC_GROUP *ecg = NULL; in ossl_ec_key_fromdata() local
407 ecg = EC_KEY_get0_group(ec); in ossl_ec_key_fromdata()
408 if (ecg == NULL) in ossl_ec_key_fromdata()
424 || (pub_point = EC_POINT_new(ecg)) == NULL in ossl_ec_key_fromdata()
425 || !EC_POINT_oct2point(ecg, pub_point, pub_key, pub_key_len, ctx)) in ossl_ec_key_fromdata()
465 order = EC_GROUP_get0_order(ecg); in ossl_ec_key_fromdata()
H A Dec_ameth.c477 const EC_GROUP *ecg = NULL; in ec_pkey_export_to() local
490 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in ec_pkey_export_to()
507 if (!ossl_ec_group_todata(ecg, tmpl, NULL, libctx, propq, bnctx, &gen_buf)) in ec_pkey_export_to()
518 if ((pub_key_buflen = EC_POINT_point2buf(ecg, pub_point, in ec_pkey_export_to()
567 ecbits = EC_GROUP_order_bits(ecg); in ec_pkey_export_to()
/openssl/crypto/evp/
H A Dctrl_params_translate.c1641 const EC_GROUP *ecg = EC_KEY_get0_group(eckey); in get_payload_public_key() local
1646 ctx->sz = EC_POINT_point2buf(ecg, point, in get_payload_public_key()
1674 const EC_GROUP *ecg; in get_payload_public_key_ec() local
1691 ecg = EC_KEY_get0_group(eckey); in get_payload_public_key_ec()
1702 if (!EC_POINT_get_affine_coordinates(ecg, point, x, y, bnctx)) in get_payload_public_key_ec()

Completed in 22 milliseconds