Home
last modified time | relevance | path

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

/openssl-master/providers/implementations/keymgmt/
A Dec_kmgmt.c119 const EC_GROUP *ecg = NULL; in key_to_params() local
125 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in key_to_params()
215 ecbits = EC_GROUP_order_bits(ecg); in key_to_params()
358 const EC_GROUP *ecg = NULL; in common_check_sm2() local
364 if ((ecg = EC_KEY_get0_group(ec)) == NULL in common_check_sm2()
619 const EC_GROUP *ecg = NULL; in common_get_params() local
626 ecg = EC_KEY_get0_group(eck); in common_get_params()
627 if (ecg == NULL) in common_get_params()
642 && !OSSL_PARAM_set_int(p, EC_GROUP_order_bits(ecg))) in common_get_params()
647 ecbits = EC_GROUP_order_bits(ecg); in common_get_params()
[all …]
/openssl-master/crypto/ec/
A Dec_backend.c356 const EC_GROUP *ecg = EC_KEY_get0_group(ec); in ossl_ec_set_ecdh_cofactor_mode() local
368 if ((cofactor = EC_GROUP_get0_cofactor(ecg)) == NULL ) in ossl_ec_set_ecdh_cofactor_mode()
398 const EC_GROUP *ecg = NULL; in ossl_ec_key_fromdata() local
402 ecg = EC_KEY_get0_group(ec); in ossl_ec_key_fromdata()
403 if (ecg == NULL) in ossl_ec_key_fromdata()
419 || (pub_point = EC_POINT_new(ecg)) == NULL in ossl_ec_key_fromdata()
420 || !EC_POINT_oct2point(ecg, pub_point, pub_key, pub_key_len, ctx)) in ossl_ec_key_fromdata()
460 order = EC_GROUP_get0_order(ecg); in ossl_ec_key_fromdata()
A Dec_ameth.c485 const EC_GROUP *ecg = NULL; in ec_pkey_export_to() local
498 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in ec_pkey_export_to()
515 if (!ossl_ec_group_todata(ecg, tmpl, NULL, libctx, propq, bnctx, &gen_buf)) in ec_pkey_export_to()
524 if ((pub_key_buflen = EC_POINT_point2buf(ecg, pub_point, in ec_pkey_export_to()
573 ecbits = EC_GROUP_order_bits(ecg); in ec_pkey_export_to()
/openssl-master/crypto/evp/
A Dctrl_params_translate.c1608 const EC_GROUP *ecg = EC_KEY_get0_group(eckey); in get_payload_public_key() local
1613 ctx->sz = EC_POINT_point2buf(ecg, point, in get_payload_public_key()

Completed in 13 milliseconds