/* If Sha256Context is NULL, then return FALSE. If HashValue is NULL, then return FALSE. */
BOOLEAN EFIAPI Sha256Final(IN OUT VOID *Sha256Context, OUT UINT8 *HashValue)
/* If Sha256Context is NULL, then return FALSE. If HashValue is NULL, then return FALSE. */
BOOLEAN EFIAPI Sha256Final(IN OUT VOID *Sha256Context, OUT UINT8 *HashValue)
{
  if ((Sha256Context == NULL) || (HashValue == NULL)) {
    return FALSE;
  }
  return (BOOLEAN)(SHA256_Final (HashValue, (SHA256_CTX *)Sha256Context));
}