Sortix cross-volatile manual
This manual documents Sortix cross-volatile. You can instead view this document in the latest official manual.
NAME
EVP_MD_CTX_ctrl, EVP_MD_CTX_set_flags, EVP_MD_CTX_clear_flags, EVP_MD_CTX_test_flags, EVP_MD_CTX_pkey_ctx, EVP_MD_CTX_set_pkey_ctx, EVP_MD_CTX_md_data — configure EVP message digest contextsSYNOPSIS
#include <openssl/evp.h>EVP_MD_CTX_ctrl(EVP_MD_CTX *ctx, int command, int p1, void* p2);
EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags);
EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags);
EVP_MD_CTX_test_flags(const EVP_MD_CTX *ctx, int flags);
EVP_MD_CTX_pkey_ctx(const EVP_MD_CTX *ctx);
EVP_MD_CTX_set_pkey_ctx(EVP_MD_CTX *ctx, EVP_PKEY_CTX *pctx);
EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx);
DESCRIPTION
EVP_MD_CTX_ctrl() performs the digest-specific control command with the command-specific arguments p1 and p2 on ctx, which needs to already be set up with EVP_DigestInit_ex(3) before calling this function. Other restrictions may apply depending on the control command and digest implementation.- EVP_MD_CTX_FLAG_NO_INIT
- Instruct EVP_DigestInit_ex(3) and functions calling it not to initialise the internal data that is specific to the digest method and its implementation.
- EVP_MD_CTX_FLAG_ONESHOT
- Instruct the digest to optimize for one update only, if possible. For digest algorithms built into the library, this flag usually has no effect.