Copy digest context state from in into an already allocated out.
Declared in <openssl/evp.h>
int
EVP_MD_CTX_copy_ex(
EVP_MD_CTX* out,
EVP_MD_CTX const* in);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| out | Destination context (must be initialised); previous state is replaced. |
| in | Source context to copy, including algorithm state and associated key material. |