Set the init callback on a custom EVP_MD method (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_MD_meth_set_init(
    EVP_MD* md,
    int(* init)(EVP_MD_CTX*));
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

md

Digest method being constructed.

init

Callback invoked to start a digest operation on a context.

Created with MrDocs