[#CHMAC_SHA512-2constructor]
= xref:CHMAC_SHA512.adoc[CHMAC&lowbar;SHA512]::CHMAC&lowbar;SHA512
:relfileprefix: ../
:mrdocs:

Initialize the HMAC with a secret key&period;

== Synopsis

Declared in `&lt;crypto&sol;hmac&lowbar;sha512&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
CHMAC&lowbar;SHA512(
    unsigned char const* key,
    size&lowbar;t keylen);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| Pointer to the key bytes&period;
| *keylen*
| Number of key bytes&period;
|===


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