MDC2_Final

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

NameDescription
mdDestination buffer for the MDC2_DIGEST_LENGTH-byte digest.
cMDC-2 context to finalise (must have been initialised).