Send a cipher-specific control request to an EVP_CIPHER_CTX.
Declared in <openssl/evp.h>
int
EVP_CIPHER_CTX_ctrl(
EVP_CIPHER_CTX* ctx,
int type,
int arg,
void* ptr);
1 on success, <=0 on failure (command-specific).
| Name | Description |
|---|---|
| ctx | Cipher context to control. |
| type | EVP_CTRL_* command code. |
| arg | Integer argument for type. |
| ptr | Pointer argument for type, or NULL. |