EVP_CIPHER_meth_set_impl_ctx_size

Set how many bytes of cipher-specific context storage to allocate (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_CIPHER_meth_set_impl_ctx_size(
    EVP_CIPHER* cipher,
    int ctx_size);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
cipherCustom cipher method to update.
ctx_sizeSize in bytes of the implementation context allocated with each EVP_CIPHER_CTX.