[#EVP_CIPHER_CTX_is_encrypting] = EVP_CIPHER_CTX_is_encrypting :mrdocs: Test whether a cipher context is currently configured for encryption. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_CIPHER_CTX_is_encrypting(xref:EVP_CIPHER_CTX.adoc[EVP_CIPHER_CTX] const* ctx); ---- == Return Value 1 if encrypting, or 0 if decrypting. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Cipher context to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#