Home
last modified time | relevance | path

Searched refs:EVP_PKEY_EC (Results 1 - 25 of 68) sorted by relevance

123

/third_party/node/deps/openssl/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.c1534 case EVP_PKEY_EC: in get_payload_group_name()
1584 case EVP_PKEY_EC: in get_payload_private_key()
1635 case EVP_PKEY_EC: in get_payload_public_key()
1767 case EVP_PKEY_EC: in get_ec_decoded_from_explicit_params()
2128 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2131 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2139 { NONE, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE,
2143 { NONE, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE,
2146 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE,
2149 { GET, EVP_PKEY_EC,
[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()
/third_party/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.c1531 case EVP_PKEY_EC: in get_payload_group_name()
1581 case EVP_PKEY_EC: in get_payload_private_key()
1632 case EVP_PKEY_EC: in get_payload_public_key()
1764 case EVP_PKEY_EC: in get_ec_decoded_from_explicit_params()
2119 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2122 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2130 { NONE, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE,
2134 { NONE, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE,
2137 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE,
2140 { GET, EVP_PKEY_EC,
[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()
725 case EVP_PKEY_EC: in detect_foreign_key()
754 if ((key != NULL) && (pktype == EVP_PKEY_EC || pktype == EVP_PKEY_SM2)) { in EVP_PKEY_assign()
764 if (curve == NID_sm2 && pktype == EVP_PKEY_EC) in EVP_PKEY_assign()
767 type = EVP_PKEY_EC; in EVP_PKEY_assign()
1002 * EVP_PKEY_EC, because of aliasing.
1008 { EVP_PKEY_EC, "EC" },
1086 case EVP_PKEY_EC: /* Including SM2 */ in EVP_PKEY_can_sign()
/third_party/node/deps/openssl/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, SubjectPublicKeyInf
[all...]
/third_party/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c738 # define ec_evp_type EVP_PKEY_EC
1314 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, type_specific_no_pub, der);
1316 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, type_specific_no_pub, der);
1333 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, type_specific_no_pub, pem);
1335 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, type_specific_no_pub, pem);
1382 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, EncryptedPrivateKeyInfo, der);
1383 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, EncryptedPrivateKeyInfo, pem);
1384 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, PrivateKeyInfo, der);
1385 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, PrivateKeyInfo, pem);
1386 MAKE_ENCODER(ec, ec, EVP_PKEY_EC, SubjectPublicKeyInf
[all...]
/third_party/openssl/ohos_lite/include/openssl/
H A Dec.h1383 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
1388 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
1393 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
1398 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
1403 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
1408 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
1413 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
1418 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
1423 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
1428 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
[all...]
/third_party/node/deps/openssl/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()
/third_party/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()
/third_party/node/deps/openssl/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,
/third_party/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,
/third_party/node/deps/openssl/openssl/ssl/
H A Dssl_cert_table.h17 {EVP_PKEY_EC, SSL_aECDSA}, /* SSL_PKEY_ECC */
/third_party/openssl/ssl/
H A Dssl_cert_table.h17 {EVP_PKEY_EC, SSL_aECDSA}, /* SSL_PKEY_ECC */
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dx509type.c44 case EVP_PKEY_EC: in X509_certificate_type()
/third_party/openssl/test/
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 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()
/third_party/openssl/crypto/x509/
H A Dx509type.c44 case EVP_PKEY_EC: in X509_certificate_type()
/third_party/rust/crates/rust-openssl/openssl-sys/src/
H A Devp.rs12 pub const EVP_PKEY_EC: c_int = NID_X9_62_id_ecPublicKey; consts
321 EVP_PKEY_assign(pkey, EVP_PKEY_EC, ec_key as *mut c_void) in EVP_PKEY_assign_EC_KEY()
/third_party/node/deps/openssl/openssl/crypto/engine/
H A Deng_pkey.c93 case EVP_PKEY_EC: in ENGINE_load_private_key()

Completed in 25 milliseconds

123