/* If Sha512Context is NULL, then return FALSE. If HashValue is NULL, then return FALSE. */
BOOLEAN EFIAPI Sha512Final(IN OUT VOID *Sha512Context, OUT UINT8 *HashValue)
/* If Sha512Context is NULL, then return FALSE. If HashValue is NULL, then return FALSE. */
BOOLEAN EFIAPI Sha512Final(IN OUT VOID *Sha512Context, OUT UINT8 *HashValue)
{
  if ((Sha512Context == NULL) || (HashValue == NULL)) {
    return FALSE;
  }
  return (BOOLEAN)(SHA384_Final (HashValue, (SHA512_CTX *)Sha512Context));
}