Home
last modified time | relevance | path

Searched refs:EC_KEY_get0_group (Results 1 – 25 of 35) sorted by relevance

12

/third_party/openssl/crypto/ec/
Dec_ameth.c34 if (ec_key == NULL || (group = EC_KEY_get0_group(ec_key)) == NULL) { in eckey_param2type()
134 const EC_GROUP *group = EC_KEY_get0_group(b->pkey.ec); in eckey_pub_cmp()
212 return EC_GROUP_order_bits(EC_KEY_get0_group(pkey->pkey.ec)); in ec_bits()
234 if (pkey->pkey.ec == NULL || EC_KEY_get0_group(pkey->pkey.ec) == NULL) in ec_missing_parameters()
241 EC_GROUP *group = EC_GROUP_dup(EC_KEY_get0_group(from->pkey.ec)); in ec_copy_parameters()
261 const EC_GROUP *group_a = EC_KEY_get0_group(a->pkey.ec), in ec_cmp_parameters()
262 *group_b = EC_KEY_get0_group(b->pkey.ec); in ec_cmp_parameters()
291 if (x == NULL || (group = EC_KEY_get0_group(x)) == NULL) { in do_EC_KEY_print()
490 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in ec_pkey_export_to()
Decdsa_ossl.c87 if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL) { in ecdsa_sign_setup()
205 group = EC_KEY_get0_group(eckey); in ossl_ecdsa_simple_sign_sig()
368 if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL || in ossl_ecdsa_simple_verify_sig()
Decdh_ossl.c76 group = EC_KEY_get0_group(ecdh); in ossl_ecdh_simple_compute_key()
Decp_s390x_nistp.c140 group = EC_KEY_get0_group(eckey); in ecdsa_s390x_nistp_sign_sig()
236 group = EC_KEY_get0_group(eckey); in ecdsa_s390x_nistp_verify_sig()
Dec_backend.c361 const EC_GROUP *ecg = EC_KEY_get0_group(ec); in ossl_ec_set_ecdh_cofactor_mode()
407 ecg = EC_KEY_get0_group(ec); in ossl_ec_key_fromdata()
Dec_pmeth.c192 group = EC_KEY_get0_group(eckey); in pkey_ec_derive()
Dec_key.c672 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key) in EC_KEY_get0_group() function
/third_party/openssl/providers/implementations/keymgmt/
Dec_kmgmt.c124 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in key_to_params()
311 ok = ok && (EC_KEY_get0_group(ec) != NULL); in ec_has()
324 const EC_GROUP *group_a = EC_KEY_get0_group(ec1); in ec_match()
325 const EC_GROUP *group_b = EC_KEY_get0_group(ec2); in ec_match()
375 if ((ecg = EC_KEY_get0_group(ec)) == NULL in common_check_sm2()
484 ok = ok && ossl_ec_group_todata(EC_KEY_get0_group(ec), tmpl, NULL, in ec_export()
639 ecg = EC_KEY_get0_group(eck); in common_get_params()
828 if (!ossl_ec_group_set_params((EC_GROUP *)EC_KEY_get0_group(key), params)) in ec_set_params()
906 ok = ok && EC_GROUP_check(EC_KEY_get0_group(eck), ctx); in sm2_validate()
948 ok = ok && EC_GROUP_check_named_curve(EC_KEY_get0_group(eck), in ec_validate()
[all …]
/third_party/openssl/providers/implementations/exchange/
Decdh_exch.c124 const EC_GROUP *group_priv = EC_KEY_get0_group(priv); in ecdh_match_params()
125 const EC_GROUP *group_peer = EC_KEY_get0_group(peer); in ecdh_match_params()
420 || (group = EC_KEY_get0_group(k)) == NULL) in ecdh_size()
452 if ((group = EC_KEY_get0_group(pecdhctx->k)) == NULL in ecdh_plain_derive()
/third_party/openssl/crypto/sm2/
Dsm2_crypt.c91 const size_t field_size = ec_field_size(EC_KEY_get0_group(key)); in ossl_sm2_ciphertext_size()
123 const EC_GROUP *group = EC_KEY_get0_group(key); in ossl_sm2_encrypt()
278 const EC_GROUP *group = EC_KEY_get0_group(key); in ossl_sm2_decrypt()
Dsm2_key.c30 || (group = EC_KEY_get0_group(eckey)) == NULL in ossl_sm2_key_private_check()
Dsm2_sign.c31 const EC_GROUP *group = EC_KEY_get0_group(key); in ossl_sm2_compute_z_digest()
200 const EC_GROUP *group = EC_KEY_get0_group(key); in sm2_sig_gen()
316 const EC_GROUP *group = EC_KEY_get0_group(key); in sm2_sig_verify()
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genec.c404 if (EC_POINT_get_affine_coordinates(EC_KEY_get0_group(ec), in lws_genec_new_keypair()
406 if (EC_POINT_get_affine_coordinates_GFp(EC_KEY_get0_group(ec), in lws_genec_new_keypair()
698 len = (EC_GROUP_get_degree(EC_KEY_get0_group(eckey[LDHS_OURS])) + 7) / 8; in lws_genecdh_compute_shared_secret()
Dopenssl-x509.c541 ecgroup = EC_KEY_get0_group(ecpub); in lws_x509_public_to_jwk()
/third_party/openssl/doc/man3/
DEC_KEY_new.pod10 EC_KEY_get0_group, EC_KEY_set_group, EC_KEY_get0_private_key,
43 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
136 The functions EC_KEY_get0_group(), EC_KEY_set_group(),
211 EC_KEY_get0_group() returns the EC_GROUP associated with the EC_KEY.
/third_party/openssl/providers/common/
Dsecuritycheck.c98 const EC_GROUP *group = EC_KEY_get0_group(ec); in ossl_ec_check_key()
/third_party/openssl/ssl/
Dtls_depr.c172 const EC_GROUP *group = EC_KEY_get0_group((const EC_KEY *)key); in ssl_set_tmp_ecdh_groups()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dec.rs189 pub fn EC_KEY_get0_group(key: *const EC_KEY) -> *const EC_GROUP; in EC_KEY_get0_group() function
/third_party/rust/crates/rust-openssl/openssl/src/
Dec.rs710 #[corresponds(EC_KEY_get0_group)]
713 let ptr = ffi::EC_KEY_get0_group(self.as_ptr()); in group()
/third_party/node/src/
Dnode_crypto_common.cc1180 int nid = EC_GROUP_get_curve_name(EC_KEY_get0_group(ec.get())); in GetEphemeralKey()
1381 const EC_GROUP* group = EC_KEY_get0_group(ec.get()); in X509ToObject()
/third_party/openssl/providers/implementations/encode_decode/
Dencode_key2text.c505 if ((group = EC_KEY_get0_group(ec)) == NULL) { in ec_to_text()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_openssl.c2579 group = EC_KEY_get0_group(eckey); in crypto_ec_key_get_subject_public_key()
2822 group = EC_KEY_get0_group(eckey); in crypto_ec_key_sign_r_s()
2924 group = EC_KEY_get0_group(eckey); in crypto_ec_key_group()
/third_party/openssl/include/openssl/
Dec.h1034 OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
/third_party/openssl/ohos_lite/include/openssl/
Dec.h878 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
/third_party/openssl/crypto/evp/
Dp_lib.c755 const EC_GROUP *group = EC_KEY_get0_group(key); in EVP_PKEY_assign()
2436 grp = EC_KEY_get0_group(ec); in EVP_PKEY_get_field_type()

12