[#HMAC_CTX_copy] = HMAC_CTX_copy :mrdocs: Copy the HMAC state from `sctx` into `dctx` (deprecated). == Synopsis Declared in `<openssl/hmac.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int HMAC_CTX_copy( xref:HMAC_CTX.adoc[HMAC_CTX]* dctx, xref:HMAC_CTX.adoc[HMAC_CTX]* sctx); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *dctx* | Destination context; must already be allocated with HMAC_CTX_new(). | *sctx* | Source context whose digest, key, and intermediate state are copied. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#