Set the ctrl callback on a custom EVP_CIPHER (deprecated).
Declared in <openssl/evp.h>
[[deprecated]]
int
EVP_CIPHER_meth_set_ctrl(
EVP_CIPHER* cipher,
int(* ctrl)(EVP_CIPHER_CTX*, int, int, void*));
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| cipher | Custom cipher method to update. |
| ctrl | Callback handling EVP_CIPHER_CTX_ctrl commands, or NULL to clear. |