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

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.

Created with MrDocs