/freebsd/crypto/openssl/crypto/evp/ |
H A D | ec_ctrl.c | 34 && ctx->pmeth != NULL && ctx->pmeth->pkey_id != EVP_PKEY_EC) in evp_pkey_ctx_getset_ecdh_param_checks() 113 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_DERIVE, in EVP_PKEY_CTX_set_ecdh_kdf_type() 123 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_DERIVE, in EVP_PKEY_CTX_get_ecdh_kdf_type() 133 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_DERIVE, in EVP_PKEY_CTX_set_ecdh_kdf_md() 143 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_DERIVE, in EVP_PKEY_CTX_get_ecdh_kdf_md() 286 int keytype = nid == EVP_PKEY_SM2 ? EVP_PKEY_SM2 : EVP_PKEY_EC; in EVP_PKEY_CTX_set_ec_paramgen_curve_nid() 299 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 | 1538 case EVP_PKEY_EC: in get_payload_group_name() 1588 case EVP_PKEY_EC: in get_payload_private_key() 1639 case EVP_PKEY_EC: in get_payload_public_key() 1771 case EVP_PKEY_EC: in get_ec_decoded_from_explicit_params() 2132 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN, 2135 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN, 2143 { NONE, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE, 2147 { NONE, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE, 2150 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE, 2153 { GET, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE, [all …]
|
H A D | p_legacy.c | 71 if (EVP_PKEY_get_base_id(pkey) != EVP_PKEY_EC) { in evp_pkey_get0_EC_KEY_int()
|
H A D | p_lib.c | 98 if (pkey->type == EVP_PKEY_EC) { in EVP_PKEY_save_parameters() 727 case EVP_PKEY_EC: in detect_foreign_key() 756 if ((key != NULL) && (pktype == EVP_PKEY_EC || pktype == EVP_PKEY_SM2)) { in EVP_PKEY_assign() 766 if (curve == NID_sm2 && pktype == EVP_PKEY_EC) in EVP_PKEY_assign() 769 type = EVP_PKEY_EC; in EVP_PKEY_assign() 1004 * EVP_PKEY_EC, because of aliasing. 1010 { EVP_PKEY_EC, "EC" }, 1089 case EVP_PKEY_EC: /* Including SM2 */ in EVP_PKEY_can_sign()
|
/freebsd/crypto/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2any.c | 738 # define ec_evp_type EVP_PKEY_EC 1325 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, type_specific_no_pub, der); 1327 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, type_specific_no_pub, der); 1344 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, type_specific_no_pub, pem); 1346 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, type_specific_no_pub, pem); 1393 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, EncryptedPrivateKeyInfo, der); 1394 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, EncryptedPrivateKeyInfo, pem); 1395 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, PrivateKeyInfo, der); 1396 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, PrivateKeyInfo, pem); 1397 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, SubjectPublicKeyInfo, der); [all …]
|
/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 | 142 case EVP_PKEY_EC: in i2d_PublicKey()
|
H A D | d2i_pr.c | 187 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 | 1053 NID_sha256, SSL_MD_SHA256_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 1056 NID_sha384, SSL_MD_SHA384_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 1059 NID_sha512, SSL_MD_SHA512_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 1068 NID_sha224, SSL_MD_SHA224_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 1071 NID_sha1, SSL_MD_SHA1_IDX, EVP_PKEY_EC, SSL_PKEY_ECC, 1429 if (lu->sig == EVP_PKEY_EC in tls_check_sigalg_curve() 1529 if (pkeyid == EVP_PKEY_EC) { in tls12_check_peer_sigalg() 2428 *psig = EVP_PKEY_EC; in get_sigorhash() 2729 rsign = EVP_PKEY_EC; in tls1_check_chain() 3210 if (lu->sig == EVP_PKEY_EC) { in find_sig_alg()
|
/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() 652 EVP_PKEY_EC, 653 EVP_PKEY_EC, 705 EVP_PKEY_EC,
|
H A D | ec_pmeth.c | 478 EVP_PKEY_EC,
|
/freebsd/crypto/openssl/test/ |
H A D | ecdsatest.c | 208 * skip SM2 curve if 'as' is equal to EVP_PKEY_EC or, skip all curves in test_builtin() 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 | 49 && test_cert_table(EVP_PKEY_EC, SSL_aECDSA, SSL_PKEY_ECC) in test_ssl_cert_table()
|
H A D | evp_pkey_dparams_test.c | 234 { EVP_PKEY_EC, ecparam_bin, sizeof(ecparam_bin),
|
H A D | endecoder_legacy_test.c | 151 { "EC", { "EC", "type-specific" }, EVP_PKEY_EC, 231 { "EC", EVP_PKEY_EC, EC_params, NULL },
|
H A D | evp_extra_test2.c | 253 {kExampleECKeyDER, sizeof(kExampleECKeyDER), EVP_PKEY_EC}, 254 {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 | 75 EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_DSA and EVP_PKEY_EC. 95 const int slist[] = {NID_sha256, EVP_PKEY_EC, NID_sha256, EVP_PKEY_RSA};
|
H A D | EVP_PKEY_CTX_new.pod | 86 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/crypto/openssl/crypto/engine/ |
H A D | eng_pkey.c |
|
/freebsd/contrib/ldns/ |
H A D | dnssec_sign.c | 413 if(EVP_PKEY_get_base_id(pkey) != EVP_PKEY_EC) in ldns_pkey_is_ecdsa() 416 if(EVP_PKEY_base_id(pkey) != EVP_PKEY_EC) in ldns_pkey_is_ecdsa() 419 if(EVP_PKEY_type(pkey->type) != EVP_PKEY_EC) in ldns_pkey_is_ecdsa() 552 == EVP_PKEY_EC) {
|