Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/crypto/evp/
H A Dec_ctrl.c34 && 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 Dctrl_params_translate.c1538 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 Dp_legacy.c71 if (EVP_PKEY_get_base_id(pkey) != EVP_PKEY_EC) { in evp_pkey_get0_EC_KEY_int()
H A Dp_lib.c98 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 Dencode_key2any.c738 # 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 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.c142 case EVP_PKEY_EC: in i2d_PublicKey()
H A Dd2i_pr.c187 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.c1053 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 Dec_ameth.c90 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 Dec_pmeth.c478 EVP_PKEY_EC,
/freebsd/crypto/openssl/test/
H A Decdsatest.c208 * 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 Dssl_cert_table_internal_test.c49 && test_cert_table(EVP_PKEY_EC, SSL_aECDSA, SSL_PKEY_ECC) in test_ssl_cert_table()
H A Devp_pkey_dparams_test.c234 { EVP_PKEY_EC, ecparam_bin, sizeof(ecparam_bin),
H A Dendecoder_legacy_test.c151 { "EC", { "EC", "type-specific" }, EVP_PKEY_EC,
231 { "EC", EVP_PKEY_EC, EC_params, NULL },
H A Devp_extra_test2.c253 {kExampleECKeyDER, sizeof(kExampleECKeyDER), EVP_PKEY_EC},
254 {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.pod75 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 DEVP_PKEY_CTX_new.pod86 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/crypto/openssl/crypto/engine/
H A Deng_pkey.c
/freebsd/contrib/ldns/
H A Ddnssec_sign.c413 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) {

12