EVP_MD_meth_set_flags

Set behaviour flags on a custom EVP_MD method (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_MD_meth_set_flags(
    EVP_MD* md,
    unsigned long flags);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
mdDigest method to update.
flagsEVP_MD_FLAG_* bits controlling copying and oneshot behaviour.