Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
EVP_PKEY_CTX_get_operation, EVP_PKEY_CTX_get0_pkey — inspect EVP_PKEY_CTX objectsSYNOPSIS
#include <openssl/evp.h>EVP_PKEY_CTX_get_operation(EVP_PKEY_CTX *ctx);
EVP_PKEY_CTX_get0_pkey(EVP_PKEY_CTX *ctx);
DESCRIPTION
EVP_PKEY_CTX_get_operation() finds out which initialization function has been called on ctx, if any:return value | initialized with | e.g. for |
EVP_PKEY_OP_DECRYPT | EVP_PKEY_decrypt_init(3) | RSA, SM2 |
EVP_PKEY_OP_DERIVE | EVP_PKEY_derive_init(3) | HKDF |
EVP_PKEY_OP_ENCRYPT | EVP_PKEY_encrypt_init(3) | RSA, SM2 |
EVP_PKEY_OP_KEYGEN | EVP_PKEY_keygen_init(3) | almost all |
EVP_PKEY_OP_PARAMGEN | EVP_PKEY_paramgen_init(3) | DH, DSA, EC |
EVP_PKEY_OP_SIGN | EVP_PKEY_sign_init(3) | DSA,EC,RSA,SM2 |
EVP_PKEY_OP_SIGN | EVP_DigestSignInit(3) | ED25519 |
EVP_PKEY_OP_SIGNCTX | EVP_DigestSignInit(3) | CMAC, HMAC |
EVP_PKEY_OP_UNDEFINED | not initialized | NONE |
EVP_PKEY_OP_VERIFY | EVP_PKEY_verify_init(3) | DSA,EC,RSA,SM2 |
EVP_PKEY_OP_VERIFY | EVP_DigestVerifyInit(3) | ED25519 |
EVP_PKEY_OP_VERIFYCTX | EVP_DigestVerifyInit(3) | no built-in |
EVP_PKEY_OP_VERIFYRECOVER | EVP_PKEY_verify_recover_init(3) | RSA |
- EVP_PKEY_OP_TYPE_CRYPT
- DECRYPT | ENCRYPT
- EVP_PKEY_OP_TYPE_GEN
- KEYGEN | PARAMGEN
- EVP_PKEY_OP_TYPE_NOGEN
- CRYPT | DERIVE | SIG
- EVP_PKEY_OP_TYPE_SIG
- SIGN | SIGNCTX | VERIFY | VERIFYCTX | VERIFYRECOVER