Home
last modified time | relevance | path

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

12

/freebsd-12-stable/crypto/openssh/
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()
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()
Dsshkey.c782 if (EC_GROUP_cmp(EC_KEY_get0_group(a->ecdsa), in sshkey_equal_public()
783 EC_KEY_get0_group(b->ecdsa), NULL) != 0 || in sshkey_equal_public()
784 EC_POINT_cmp(EC_KEY_get0_group(a->ecdsa), in sshkey_equal_public()
1682 const EC_GROUP *g = EC_KEY_get0_group(k); in sshkey_ecdsa_key_to_nid()
2517 if ((q = EC_POINT_new(EC_KEY_get0_group(key->ecdsa))) == NULL) { in sshkey_from_blob_internal()
2521 if (sshbuf_get_ec(b, q, EC_KEY_get0_group(key->ecdsa)) != 0) { in sshkey_from_blob_internal()
2525 if (sshkey_ec_validate_public(EC_KEY_get0_group(key->ecdsa), in sshkey_from_blob_internal()
2536 sshkey_dump_ec_point(EC_KEY_get0_group(key->ecdsa), q); in sshkey_from_blob_internal()
3013 EC_KEY_get0_group(k->ecdsa))) != 0) in sshkey_certify_custom()
3571 if ((r = sshkey_ec_validate_public(EC_KEY_get0_group(k->ecdsa), in sshkey_private_deserialize()
[all …]
Dssh-sk.c219 (q = EC_POINT_new(EC_KEY_get0_group(key->ecdsa))) == NULL || in sshsk_ecdsa_assemble()
230 if ((r = sshbuf_get_ec(b, q, EC_KEY_get0_group(key->ecdsa))) != 0) { in sshsk_ecdsa_assemble()
235 if (sshkey_ec_validate_public(EC_KEY_get0_group(key->ecdsa), q) != 0) { in sshsk_ecdsa_assemble()
/freebsd-12-stable/crypto/openssl/crypto/ec/
Dec_ameth.c30 if (ec_key == NULL || (group = EC_KEY_get0_group(ec_key)) == NULL) { in eckey_param2type()
186 const EC_GROUP *group = EC_KEY_get0_group(b->pkey.ec); in eckey_pub_cmp()
295 return EC_GROUP_order_bits(EC_KEY_get0_group(pkey->pkey.ec)); in ec_bits()
316 if (pkey->pkey.ec == NULL || EC_KEY_get0_group(pkey->pkey.ec) == NULL) in ec_missing_parameters()
323 EC_GROUP *group = EC_GROUP_dup(EC_KEY_get0_group(from->pkey.ec)); in ec_copy_parameters()
343 const EC_GROUP *group_a = EC_KEY_get0_group(a->pkey.ec), in ec_cmp_parameters()
344 *group_b = EC_KEY_get0_group(b->pkey.ec); in ec_cmp_parameters()
372 if (x == NULL || (group = EC_KEY_get0_group(x)) == NULL) { in do_EC_KEY_print()
677 grp = EC_KEY_get0_group(pk->pkey.ec); in ecdh_cms_set_peerkey()
Decdsa_ossl.c46 if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL) { in ecdsa_sign_setup()
166 group = EC_KEY_get0_group(eckey); in ossl_ecdsa_sign_sig()
329 if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL || in ossl_ecdsa_verify_sig()
Decdh_ossl.c65 group = EC_KEY_get0_group(ecdh); in ecdh_simple_compute_key()
Dec_pmeth.c168 group = EC_KEY_get0_group(eckey); in pkey_ec_derive()
Dec_key.c399 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key) in EC_KEY_get0_group() function
Dec_asn1.c1319 group = EC_KEY_get0_group(r); in ECDSA_size()
/freebsd-12-stable/crypto/openssh/regress/unittests/sshbuf/
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-12-stable/crypto/openssl/doc/man3/
DEC_KEY_new.pod9 EC_KEY_get0_group, EC_KEY_set_group, EC_KEY_get0_private_key,
33 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
102 The functions EC_KEY_get0_group(), EC_KEY_set_group(),
174 EC_KEY_get0_group() returns the EC_GROUP associated with the EC_KEY.
/freebsd-12-stable/crypto/openssl/crypto/sm2/
Dsm2_crypt.c84 const size_t field_size = ec_field_size(EC_KEY_get0_group(key)); in sm2_ciphertext_size()
116 const EC_GROUP *group = EC_KEY_get0_group(key); in sm2_encrypt()
262 const EC_GROUP *group = EC_KEY_get0_group(key); in sm2_decrypt()
Dsm2_sign.c29 const EC_GROUP *group = EC_KEY_get0_group(key); in sm2_compute_z_digest()
188 const EC_GROUP *group = EC_KEY_get0_group(key); in sm2_sig_gen()
290 const EC_GROUP *group = EC_KEY_get0_group(key); in sm2_sig_verify()
/freebsd-12-stable/crypto/openssl/apps/
Dec.c208 group = EC_KEY_get0_group(eckey); in ec_main()
Ds_cb.c422 nid = EC_GROUP_get_curve_name(EC_KEY_get0_group(ec)); in ssl_print_tmp_key()
/freebsd-12-stable/crypto/openssl/ssl/
Dt1_lib.c430 grp = EC_KEY_get0_group(ec); in tls1_get_group_id()
446 grp = EC_KEY_get0_group(ec); in tls1_check_pkey_comp()
1083 int curve = EC_GROUP_get_curve_name(EC_KEY_get0_group(ec)); in tls12_check_peer_sigalg()
2714 curve = EC_GROUP_get_curve_name(EC_KEY_get0_group(ec)); in find_sig_alg()
2779 curve = EC_GROUP_get_curve_name(EC_KEY_get0_group(ec)); in tls_choose_sigalg()
/freebsd-12-stable/crypto/openssl/crypto/x509/
Dx509_cmp.c329 grp = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)); in check_suite_b()
/freebsd-12-stable/contrib/ldns/
Dkeys.c228 group = EC_KEY_get0_group(ec); in ldns_EC_KEY_calc_public()
357 if(EC_GROUP_get_curve_name(EC_KEY_get0_group(ec)) != NID_X25519) { in ldns_key_new_frm_fp_ed25519_l()
433 if(EC_GROUP_get_curve_name(EC_KEY_get0_group(ec)) != NID_X448) { in ldns_key_new_frm_fp_ed448_l()
Ddnssec_sign.c419 g = EC_KEY_get0_group(ec); in ldns_pkey_is_ecdsa()
/freebsd-12-stable/crypto/openssh/regress/misc/sk-dummy/
Dsk-dummy.c126 (g = EC_KEY_get0_group(key)) == NULL || in pack_key_ecdsa()
/freebsd-12-stable/crypto/openssh/regress/unittests/sshkey/
Dtest_file.c271 c = EC_POINT_point2bn(EC_KEY_get0_group(k1->ecdsa), in sshkey_file_tests()
/freebsd-12-stable/contrib/wpa/src/crypto/
Dcrypto_openssl.c2558 group = EC_KEY_get0_group(eckey); in crypto_ec_key_get_subject_public_key()
2801 group = EC_KEY_get0_group(eckey); in crypto_ec_key_sign_r_s()
2903 group = EC_KEY_get0_group(eckey); in crypto_ec_key_group()
/freebsd-12-stable/crypto/heimdal/kdc/
Dpkinit.c267 EC_KEY_get0_group(client_params->u.ecdh.public_key)); in generate_dh_keyblock()
274 size = (EC_GROUP_get_degree(EC_KEY_get0_group(client_params->u.ecdh.key)) + 7) / 8; in generate_dh_keyblock()
/freebsd-12-stable/crypto/openssl/include/openssl/
Dec.h878 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);

12