Set EVP_CIPH_* capability flags on a custom EVP_CIPHER (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_CIPHER_meth_set_flags(
    EVP_CIPHER* cipher,
    unsigned long flags);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

cipher

Cipher method being constructed.

flags

Combination of EVP_CIPH_* flags (mode, variable length, AEAD, …).

Created with MrDocs