[#EVP_MD_is_a]
= EVP&lowbar;MD&lowbar;is&lowbar;a
:mrdocs:

Test whether a digest implementation is known by `name` (including aliases)&period;

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;MD&lowbar;is&lowbar;a(
    xref:EVP_MD.adoc[EVP&lowbar;MD] const* md,
    char const* name);
----

== Return Value

1 if `md` matches `name,` or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *md*
| Digest method to query&period;
| *name*
| Algorithm name such as &quot;SHA256&quot;&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
