Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c118 const EC_GROUP *ecg = NULL; in key_to_params() local
124 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in key_to_params()
222 ecbits = EC_GROUP_order_bits(ecg); in key_to_params()
377 const EC_GROUP *ecg = NULL; in common_check_sm2() local
383 if ((ecg = EC_KEY_get0_group(ec)) == NULL in common_check_sm2()
640 const EC_GROUP *ecg = NULL; in common_get_params() local
647 ecg = EC_KEY_get0_group(eck); in common_get_params()
648 if (ecg == NULL) { in common_get_params()
670 ecbits = EC_GROUP_order_bits(ecg); in common_get_params()
746 p->return_size = EC_POINT_point2oct(ecg, ecp, in common_get_params()
[all …]
/freebsd/crypto/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()
/freebsd/crypto/openssl/crypto/evp/
H A Dctrl_params_translate.c1639 const EC_GROUP *ecg = EC_KEY_get0_group(eckey); in get_payload_public_key() local
1644 ctx->sz = EC_POINT_point2buf(ecg, point, in get_payload_public_key()