EVP_PKEY_X25519
if (id == EVP_PKEY_X25519) {
#define IS25519(id) ((id) == EVP_PKEY_X25519 || (id) == EVP_PKEY_ED25519)
(IS25519(id) ? ((id) == EVP_PKEY_X25519 ? ECX_KEY_TYPE_X25519 \
EVP_PKEY_X25519,
return ecx_generic_import_from(params, vpctx, EVP_PKEY_X25519);
EVP_PKEY_X25519,
EVP_PKEY_X25519,
EVP_PKEY_X25519,
{ OSSL_ACTION_SET, EVP_PKEY_X25519, EVP_PKEY_X25519, EVP_PKEY_OP_KEYGEN, -1, NULL, NULL,
{ OSSL_ACTION_SET, EVP_PKEY_X25519, EVP_PKEY_X25519, EVP_PKEY_OP_PARAMGEN, -1, NULL, NULL,
{ EVP_PKEY_X25519, "X25519" },
if (EVP_PKEY_get_id(pkey) == EVP_PKEY_X25519)
(void)EVP_PKEY_assign(pktmp, EVP_PKEY_X25519, (ECX_KEY *)a);
? EVP_PKEY_X25519 \
#define x25519_evp_type EVP_PKEY_X25519
#define x25519_evp_type EVP_PKEY_X25519
{ EVP_PKEY_X25519, OSSL_TLS_GROUP_ID_x25519 },
{ EVP_PKEY_X25519,
id = EVP_PKEY_X25519;
if (id == EVP_PKEY_DH || id == EVP_PKEY_X25519) {
if (id != EVP_PKEY_ED25519 && id != EVP_PKEY_X25519) {
{ kExampleECXKey2DER, sizeof(kExampleECXKey2DER), EVP_PKEY_X25519 },
} else if (ak->evptype == EVP_PKEY_X25519) {