Test whether selected flag bits are set on a cipher context.
Declared in <openssl/evp.h>
int
EVP_CIPHER_CTX_test_flags(
EVP_CIPHER_CTX const* ctx,
int flags);
Bitwise AND of flags with the context's flags (non-zero if any tested bit is set).
| Name | Description |
|---|---|
| ctx | Cipher context to query. |
| flags | Bitmask of EVP_CIPHER_CTX flag bits to test (for example EVP_CIPH_NO_PADDING). |