[#EVP_PKEY_get0_hmac] = EVP_PKEY_get0_hmac :mrdocs: Return a pointer to the HMAC key material inside an EVP_PKEY (deprecated). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] unsigned char const* EVP_PKEY_get0_hmac( xref:EVP_PKEY.adoc[EVP_PKEY] const* pkey, size_t* len); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value Pointer to the internal key bytes (do not free), or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *pkey* | Key of type EVP_PKEY_HMAC. | *len* | Receives the key length in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#