Allocate a new custom EVP_PKEY_METHOD for algorithm id (deprecated).
Declared in <openssl/evp.h>
[[deprecated]]
EVP_PKEY_METHOD*
EVP_PKEY_meth_new(
int id,
int flags);
Deprecated. Use of this entity is allowed but discouraged.
Prefer provider-based EVP_KEYMGMT / EVP_SIGNATURE implementations for new code.
New EVP_PKEY_METHOD, or NULL on allocation failure.
| Name | Description |
|---|---|
| id | Public-key algorithm NID this method implements. |
| flags | Method flags such as EVP_PKEY_FLAG_AUTOARGLEN or EVP_PKEY_FLAG_SIGCTX_CUSTOM. |