[#EVP_MD_meth_new] = EVP_MD_meth_new :mrdocs: Allocate a mutable EVP_MD method object for custom digests (deprecated). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:EVP_MD.adoc[EVP_MD]* EVP_MD_meth_new( int md_type, int pkey_type); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Description Deprecated; prefer provider‐based digests instead of building EVP_MD methods by hand. == Return Value New EVP_MD, or NULL on allocation failure. == Parameters [cols="1,4"] |=== | Name| Description | *md_type* | NID identifying the digest algorithm. | *pkey_type* | Legacy NID associating the digest with a public‐key type, or NID_undef. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#