Home
last modified time | relevance | path

Searched refs:EVP_PKEY_EC (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/crypto/openssl/crypto/evp/
H A Dec_ctrl.c33 && 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 Dctrl_params_translate.c1535 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 Dp_legacy.c78 if (EVP_PKEY_get_base_id(pkey) != EVP_PKEY_EC) { in evp_pkey_get0_EC_KEY_int()
H A Dp_lib.c105 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 Dd2i_pu.c44 && EVP_PKEY_get_base_id(ret) == EVP_PKEY_EC) { in d2i_PublicKey()
73 case EVP_PKEY_EC: in d2i_PublicKey()
H A Di2d_evp.c147 case EVP_PKEY_EC: in i2d_PublicKey()
H A Dd2i_pr.c210 keytype = EVP_PKEY_EC; in d2i_AutoPrivateKey_legacy()
/freebsd/crypto/openssl/ssl/
H A Dssl_cert_table.h17 { EVP_PKEY_EC, SSL_aECDSA }, /* SSL_PKEY_ECC */
H A Dt1_lib.c1984 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 Dec_ameth.c90 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 Dec_pmeth.c463 EVP_PKEY_EC,
/freebsd/crypto/openssl/test/
H A Decdsatest.c211 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 Dssl_cert_table_internal_test.c50 && test_cert_table(EVP_PKEY_EC, SSL_aECDSA, SSL_PKEY_ECC) in test_ssl_cert_table()
H A Devp_pkey_dparams_test.c232 { EVP_PKEY_EC, ecparam_bin, sizeof(ecparam_bin),
H A Dx509_test.c304 privkey = d2i_PrivateKey(EVP_PKEY_EC, NULL, &p, sizeof(privkeydata)); in setup_tests()
H A Dendecoder_legacy_test.c154 EVP_PKEY_EC,
235 { "EC", EVP_PKEY_EC, EC_params, NULL },
H A Devp_extra_test2.c1513 { kExampleECKeyDER, sizeof(kExampleECKeyDER), EVP_PKEY_EC },
1514 { kExampleECKey2DER, sizeof(kExampleECKey2DER), EVP_PKEY_EC },
/freebsd/crypto/openssl/crypto/x509/
H A Dx509type.c44 case EVP_PKEY_EC: in X509_certificate_type()
/freebsd/contrib/libfido2/src/
H A Des384.c244 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 Des256.c232 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 DSSL_CTX_set1_sigalgs.pod80 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 DEVP_PKEY_CTX_new.pod89 B<EVP_PKEY_DH>, B<EVP_PKEY_EC>, B<EVP_PKEY_SM2>, B<EVP_PKEY_X25519>,
H A Dd2i_PrivateKey.pod97 To decode a key with type B<EVP_PKEY_EC>, d2i_PublicKey() requires I<*a> to be
/freebsd/contrib/ldns/
H A Ddnssec_sign.c414 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 Dssh-ecdsa.c175 if ((ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_EC, NULL)) == NULL) in ssh_ecdsa_generate()

12