EVP_PKEY_CTX_ctrl_uint64

Send a control command with a uint64_t argument to a key context.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_CTX_ctrl_uint64(
    EVP_PKEY_CTX* ctx,
    int keytype,
    int optype,
    int cmd,
    uint64_t value);

Return Value

Positive value on success, or a non-positive value on failure / unsupported command.

Parameters

NameDescription
ctxKey context receiving the command.
keytypeExpected key type, or -1 to skip the type check.
optypeExpected operation type, or -1 to skip the operation check.
cmdAlgorithm-specific control command.
value64-bit integer argument for cmd.