Send a control command with a uint64_t argument to a key context.
Declared in <openssl/evp.h>
int
EVP_PKEY_CTX_ctrl_uint64(
EVP_PKEY_CTX* ctx,
int keytype,
int optype,
int cmd,
uint64_t value);
Positive value on success, or a non-positive value on failure / unsupported command.
| Name | Description |
|---|---|
| ctx | Key context receiving the command. |
| keytype | Expected key type, or -1 to skip the type check. |
| optype | Expected operation type, or -1 to skip the operation check. |
| cmd | Algorithm-specific control command. |
| value | 64-bit integer argument for cmd. |