EVP_MD_meth_set_app_datasize

Set the private context data size for a custom EVP_MD method (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_MD_meth_set_app_datasize(
    EVP_MD* md,
    int datasize);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
mdDigest method being constructed.
datasizeNumber of bytes of application data to allocate with each EVP_MD_CTX.