EVP_CIPHER_meth_set_iv_length

Set the IV length advertised by a custom EVP_CIPHER method (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_CIPHER_meth_set_iv_length(
    EVP_CIPHER* cipher,
    int iv_len);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
cipherCipher method under construction.
iv_lenIV length in bytes.