Test whether a cipher context is currently configured for encryption.
Synopsis
Declared in <openssl/evp.h>
int
EVP_CIPHER_CTX_is_encrypting(EVP_CIPHER_CTX const* ctx);
Return Value
1 if encrypting, or 0 if decrypting.
Parameters
Name |
Description |
ctx |
Cipher context to query. |
Created with MrDocs