SHA512_Final

Finalize a SHA-512 digest and write SHA512_DIGEST_LENGTH bytes to md (deprecated).

Synopsis

Declared in <openssl/sha.h>

[[deprecated]]
int
SHA512_Final(
    unsigned char* md,
    SHA512_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 digest.
cContext previously updated with SHA512_Update().