The SHA-512 context to use. This must be initialized.
is384
Determines which function to use. This must be either \c 0 for SHA-512, or \c 1 for SHA-384.
Return value
\c 0 on success. A negative error code on failure.
Notes
is384 must be defined accordingly to the enabled MBEDTLS_SHA384_C/MBEDTLS_SHA512_C symbols otherwise the function will return #MBEDTLS_ERR_SHA512_BAD_INPUT_DATA.