Finalise an MDC‐2 digest and write the 16‐byte result (deprecated).

Synopsis

Declared in <openssl/mdc2.h>

[[deprecated]]
int
MDC2_Final(
    unsigned char* md,
    MDC2_CTX* c);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

md

Destination buffer for the MDC2_DIGEST_LENGTH‐byte digest.

c

MDC‐2 context to finalise (must have been initialised).

Created with MrDocs