Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/crypto/ec/
H A 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()
H A Decdsa_ossl.c101 if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL) { in ecdsa_sign_setup()
226 group = EC_KEY_get0_group(eckey); in ossl_ecdsa_simple_sign_sig()
398 if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL || in ossl_ecdsa_simple_verify_sig()
H A Decdh_ossl.c76 group = EC_KEY_get0_group(ecdh); in ossl_ecdh_simple_compute_key()
H A 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()
H A 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()
H A Dec_pmeth.c192 group = EC_KEY_get0_group(eckey); in pkey_ec_derive()
/freebsd/crypto/openssh/
H A Dsshbuf-getput-crypto.c97 EC_POINT *pt = EC_POINT_new(EC_KEY_get0_group(v)); in sshbuf_get_eckey()
110 if ((r = get_ec(d, len, pt, EC_KEY_get0_group(v))) != 0) { in sshbuf_get_eckey()
177 EC_KEY_get0_group(v)); in sshbuf_put_eckey()
H A Dkexecdh.c66 group = EC_KEY_get0_group(client_key); in kex_ecdh_keypair()
112 group = EC_KEY_get0_group(server_key); in kex_ecdh_enc()
H A Dssh-ecdsa.c66 (g = EC_KEY_get0_group(ec)) == NULL) in sshkey_ecdsa_fixup_group()
253 if (sshkey_ec_validate_public(EC_KEY_get0_group(ec), in ssh_ecdsa_deserialize_public()
273 EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(key->pkey)), in ssh_ecdsa_deserialize_public()
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c124 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in key_to_params()
319 ok = ok && (EC_KEY_get0_group(ec) != NULL); in ec_has()
332 const EC_GROUP *group_a = EC_KEY_get0_group(ec1); in ec_match()
333 const EC_GROUP *group_b = EC_KEY_get0_group(ec2); in ec_match()
383 if ((ecg = EC_KEY_get0_group(ec)) == NULL in common_check_sm2()
492 ok = ok && ossl_ec_group_todata(EC_KEY_get0_group(ec), tmpl, NULL, in ec_export()
647 ecg = EC_KEY_get0_group(eck); in common_get_params()
836 if (!ossl_ec_group_set_params((EC_GROUP *)EC_KEY_get0_group(key), params)) in ec_set_params()
914 ok = ok && EC_GROUP_check(EC_KEY_get0_group(eck), ctx); in sm2_validate()
956 ok = ok && EC_GROUP_check_named_curve(EC_KEY_get0_group(eck), in ec_validate()
[all …]
/freebsd/crypto/openssl/providers/implementations/exchange/
H A 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()
/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_crypto.c229 ecp = EC_POINT_new(EC_KEY_get0_group(eck)); in sshbuf_getput_crypto_tests()
234 EC_KEY_get0_group(eck), ecp, bn_x, bn_y, NULL), 1); in sshbuf_getput_crypto_tests()
263 EC_KEY_get0_group(eck), EC_KEY_get0_public_key(eck), in sshbuf_getput_crypto_tests()
/freebsd/crypto/openssl/crypto/sm2/
H A Dsm2_key.c30 || (group = EC_KEY_get0_group(eckey)) == NULL in ossl_sm2_key_private_check()
H A Dsm2_crypt.c103 const size_t field_size = ec_field_size(EC_KEY_get0_group(key)); in ossl_sm2_ciphertext_size()
135 const EC_GROUP *group = EC_KEY_get0_group(key); in ossl_sm2_encrypt()
296 const EC_GROUP *group = EC_KEY_get0_group(key); in ossl_sm2_decrypt()
H A Dsm2_sign.c31 const EC_GROUP *group = EC_KEY_get0_group(key); in ossl_sm2_compute_z_digest()
207 const EC_GROUP *group = EC_KEY_get0_group(key); in sm2_sig_gen()
323 const EC_GROUP *group = EC_KEY_get0_group(key); in sm2_sig_verify()
/freebsd/contrib/libfido2/fuzz/
H A Dwrapped.sym30 EC_KEY_get0_group
H A Dwrap.c259 EC_KEY_get0_group,
/freebsd/crypto/openssl/doc/man3/
H A 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.
/freebsd/crypto/openssl/providers/common/
H A Dsecuritycheck.c98 const EC_GROUP *group = EC_KEY_get0_group(ec); in ossl_ec_check_key()
/freebsd/crypto/openssl/ssl/
H A Dtls_depr.c172 const EC_GROUP *group = EC_KEY_get0_group((const EC_KEY *)key); in ssl_set_tmp_ecdh_groups()
/freebsd/contrib/libfido2/src/
H A Des256.c296 (g = EC_KEY_get0_group(ec)) == NULL) { in es256_pk_to_EVP_PKEY()
471 (g = EC_KEY_get0_group(ec)) == NULL || in es256_derive_pk()
H A Des384.c139 (g = EC_KEY_get0_group(ec)) == NULL) { in es384_pk_to_EVP_PKEY()
/freebsd/crypto/openssh/regress/misc/sk-dummy/
H A Dsk-dummy.c117 (g = EC_KEY_get0_group(key)) == NULL || in pack_key_ecdsa()
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_file.c274 c = EC_POINT_point2bn(EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(k1->pkey)), in sshkey_file_tests()
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c506 if ((group = EC_KEY_get0_group(ec)) == NULL) { in ec_to_text()

12