Send a legacy control request to a digest context.
Declared in <openssl/evp.h>
int
EVP_MD_CTX_ctrl(
EVP_MD_CTX* ctx,
int cmd,
int p1,
void* p2);
1 on success, or a command-specific status / 0 on failure.
| Name | Description |
|---|---|
| ctx | Digest context to control. |
| cmd | Control command (algorithm-specific). |
| p1 | Integer control argument. |
| p2 | Pointer control argument, or NULL. |