Return a pointer to the HMAC key material inside an EVP_PKEY (deprecated).
Declared in <openssl/evp.h>
[[deprecated]]
unsigned char const*
EVP_PKEY_get0_hmac(
EVP_PKEY const* pkey,
size_t* len);
Deprecated. Use of this entity is allowed but discouraged.
Pointer to the internal key bytes (do not free), or NULL on error.
| Name | Description |
|---|---|
| pkey | Key of type EVP_PKEY_HMAC. |
| len | Receives the key length in bytes. |