| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | ec_ctrl.c | 33 && ctx->pmeth != NULL && ctx->pmeth->pkey_id != EVP_PKEY_EC) in evp_pkey_ctx_getset_ecdh_param_checks() 112 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_DERIVE, in EVP_PKEY_CTX_set_ecdh_kdf_type() 122 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_DERIVE, in EVP_PKEY_CTX_get_ecdh_kdf_type() 132 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_DERIVE, in EVP_PKEY_CTX_set_ecdh_kdf_md() 142 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_DERIVE, in EVP_PKEY_CTX_get_ecdh_kdf_md() 285 int keytype = nid == EVP_PKEY_SM2 ? EVP_PKEY_SM2 : EVP_PKEY_EC; in EVP_PKEY_CTX_set_ec_paramgen_curve_nid() 298 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_TYPE_GEN, in EVP_PKEY_CTX_set_ec_param_enc()
|
| H A D | ctrl_params_translate.c | 1535 case EVP_PKEY_EC: { in get_payload_group_name() 1580 case EVP_PKEY_EC: { in get_payload_private_key() 1629 case EVP_PKEY_EC: in get_payload_public_key() 1819 case EVP_PKEY_EC: in get_ec_decoded_from_explicit_params() 2173 { OSSL_ACTION_SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN, 2176 { OSSL_ACTION_SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN, 2184 { OSSL_ACTION_NONE, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE, 2188 { OSSL_ACTION_NONE, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE, 2191 { OSSL_ACTION_SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE, 2194 { OSSL_ACTION_GET, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE, [all …]
|
| H A D | p_legacy.c | 78 if (EVP_PKEY_get_base_id(pkey) != EVP_PKEY_EC) { in evp_pkey_get0_EC_KEY_int()
|
| H A D | p_lib.c | 105 if (pkey->type == EVP_PKEY_EC) { in EVP_PKEY_save_parameters() 763 case EVP_PKEY_EC: in detect_foreign_key() 792 if ((key != NULL) && (pktype == EVP_PKEY_EC || pktype == EVP_PKEY_SM2)) { in EVP_PKEY_assign() 802 if (curve == NID_sm2 && pktype == EVP_PKEY_EC) in EVP_PKEY_assign() 805 type = EVP_PKEY_EC; in EVP_PKEY_assign() 1059 { EVP_PKEY_EC, "EC" }, 1138 case EVP_PKEY_EC: /* Including SM2 */ in EVP_PKEY_can_sign()
|
| /freebsd/crypto/openssl/crypto/asn1/ |
| H A D | d2i_pu.c | 44 && EVP_PKEY_get_base_id(ret) == EVP_PKEY_EC) { in d2i_PublicKey() 73 case EVP_PKEY_EC: in d2i_PublicKey()
|
| H A D | i2d_evp.c | 147 case EVP_PKEY_EC: in i2d_PublicKey()
|
| H A D | d2i_pr.c | 210 keytype = EVP_PKEY_EC; in d2i_AutoPrivateKey_legacy()
|
| /freebsd/crypto/openssl/ssl/ |
| H A D | ssl_cert_table.h | 17 { EVP_PKEY_EC, SSL_aECDSA }, /* SSL_PKEY_ECC */
|
| H A D | t1_lib.c | 1984 NID_sha256, SSL_MD_SHA256_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 1989 NID_sha384, SSL_MD_SHA384_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 1994 NID_sha512, SSL_MD_SHA512_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 2011 NID_sha224, SSL_MD_SHA224_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 2016 NID_sha1, SSL_MD_SHA1_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 2023 NID_sha256, SSL_MD_SHA256_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 2029 NID_sha384, SSL_MD_SHA384_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 2035 NID_sha512, SSL_MD_SHA512_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 2596 if (lu->sig == EVP_PKEY_EC in tls_check_sigalg_curve() 2766 if (pkeyid == EVP_PKEY_EC) { in tls12_check_peer_sigalg() [all …]
|
| /freebsd/crypto/openssl/crypto/ec/ |
| H A D | ec_ameth.c | 90 if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(EVP_PKEY_EC), in eckey_pub_encode() 651 EVP_PKEY_EC, 652 EVP_PKEY_EC, 704 EVP_PKEY_EC,
|
| H A D | ec_pmeth.c | 463 EVP_PKEY_EC,
|
| /freebsd/crypto/openssl/test/ |
| H A D | ecdsatest.c | 211 if (nid == NID_sm2 && as == EVP_PKEY_EC) { in test_builtin() 222 as == EVP_PKEY_EC ? "EC" : "SM2"); in test_builtin() 340 return test_builtin(n, EVP_PKEY_EC); in test_builtin_as_ec()
|
| H A D | ssl_cert_table_internal_test.c | 50 && test_cert_table(EVP_PKEY_EC, SSL_aECDSA, SSL_PKEY_ECC) in test_ssl_cert_table()
|
| H A D | evp_pkey_dparams_test.c | 232 { EVP_PKEY_EC, ecparam_bin, sizeof(ecparam_bin),
|
| H A D | x509_test.c | 304 privkey = d2i_PrivateKey(EVP_PKEY_EC, NULL, &p, sizeof(privkeydata)); in setup_tests()
|
| H A D | endecoder_legacy_test.c | 154 EVP_PKEY_EC, 235 { "EC", EVP_PKEY_EC, EC_params, NULL },
|
| H A D | evp_extra_test2.c | 1513 { kExampleECKeyDER, sizeof(kExampleECKeyDER), EVP_PKEY_EC }, 1514 { kExampleECKey2DER, sizeof(kExampleECKey2DER), EVP_PKEY_EC },
|
| /freebsd/crypto/openssl/crypto/x509/ |
| H A D | x509type.c | 44 case EVP_PKEY_EC: in X509_certificate_type()
|
| /freebsd/contrib/libfido2/src/ |
| H A D | es384.c | 244 if (EVP_PKEY_base_id(pkey) != EVP_PKEY_EC || in es384_pk_from_EVP_PKEY() 258 if (EVP_PKEY_base_id(pkey) != EVP_PKEY_EC) { in es384_verify_sig()
|
| H A D | es256.c | 232 if ((pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_EC, NULL)) == NULL || in es256_sk_create() 401 if (EVP_PKEY_base_id(pkey) != EVP_PKEY_EC || in es256_pk_from_EVP_PKEY() 503 if (EVP_PKEY_base_id(pkey) != EVP_PKEY_EC) { in es256_verify_sig()
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | SSL_CTX_set1_sigalgs.pod | 80 EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_DSA and EVP_PKEY_EC. 100 const int slist[] = {NID_sha256, EVP_PKEY_EC, NID_sha256, EVP_PKEY_RSA};
|
| H A D | EVP_PKEY_CTX_new.pod | 89 B<EVP_PKEY_DH>, B<EVP_PKEY_EC>, B<EVP_PKEY_SM2>, B<EVP_PKEY_X25519>,
|
| H A D | d2i_PrivateKey.pod | 97 To decode a key with type B<EVP_PKEY_EC>, d2i_PublicKey() requires I<*a> to be
|
| /freebsd/contrib/ldns/ |
| H A D | dnssec_sign.c | 414 if(EVP_PKEY_get_base_id(pkey) != EVP_PKEY_EC) in ldns_pkey_is_ecdsa() 417 if(EVP_PKEY_base_id(pkey) != EVP_PKEY_EC) in ldns_pkey_is_ecdsa() 420 if(EVP_PKEY_type(pkey->type) != EVP_PKEY_EC) in ldns_pkey_is_ecdsa() 553 == EVP_PKEY_EC) {
|
| /freebsd/crypto/openssh/ |
| H A D | ssh-ecdsa.c | 175 if ((ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_EC, NULL)) == NULL) in ssh_ecdsa_generate()
|