/freebsd/crypto/openssl/crypto/ec/ |
H A D | ec_ameth.c | 34 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 D | ecdsa_ossl.c | 101 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 D | ecdh_ossl.c | 76 group = EC_KEY_get0_group(ecdh); in ossl_ecdh_simple_compute_key()
|
H A D | ecp_s390x_nistp.c | 140 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 D | ec_backend.c | 361 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 D | ec_pmeth.c | 192 group = EC_KEY_get0_group(eckey); in pkey_ec_derive()
|
/freebsd/crypto/openssh/ |
H A D | sshbuf-getput-crypto.c | 97 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 D | kexecdh.c | 66 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 D | ssh-ecdsa.c | 66 (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 D | ec_kmgmt.c | 124 || (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 D | ecdh_exch.c | 124 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 D | test_sshbuf_getput_crypto.c | 229 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 D | sm2_key.c | 30 || (group = EC_KEY_get0_group(eckey)) == NULL in ossl_sm2_key_private_check()
|
H A D | sm2_crypt.c | 103 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 D | sm2_sign.c | 31 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 D | wrapped.sym | 30 EC_KEY_get0_group
|
H A D | wrap.c | 259 EC_KEY_get0_group,
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | EC_KEY_new.pod | 10 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 D | securitycheck.c | 98 const EC_GROUP *group = EC_KEY_get0_group(ec); in ossl_ec_check_key()
|
/freebsd/crypto/openssl/ssl/ |
H A D | tls_depr.c | 172 const EC_GROUP *group = EC_KEY_get0_group((const EC_KEY *)key); in ssl_set_tmp_ecdh_groups()
|
/freebsd/contrib/libfido2/src/ |
H A D | es256.c | 296 (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 D | es384.c | 139 (g = EC_KEY_get0_group(ec)) == NULL) { in es384_pk_to_EVP_PKEY()
|
/freebsd/crypto/openssh/regress/misc/sk-dummy/ |
H A D | sk-dummy.c | 117 (g = EC_KEY_get0_group(key)) == NULL || in pack_key_ecdsa()
|
/freebsd/crypto/openssh/regress/unittests/sshkey/ |
H A D | test_file.c | 274 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 D | encode_key2text.c | 506 if ((group = EC_KEY_get0_group(ec)) == NULL) { in ec_to_text()
|