Allocate a mutable EVP_MD method object for custom digests (deprecated).
Declared in <openssl/evp.h>
[[deprecated]]
EVP_MD*
EVP_MD_meth_new(
int md_type,
int pkey_type);
Deprecated. Use of this entity is allowed but discouraged.
Deprecated; prefer provider-based digests instead of building EVP_MD methods by hand.
New EVP_MD, or NULL on allocation failure.
| Name | Description |
|---|---|
| md_type | NID identifying the digest algorithm. |
| pkey_type | Legacy NID associating the digest with a public-key type, or NID_undef. |