/* If Sha1Context is NULL, then return FALSE. If HashValue is NULL, then return FALSE. */
BOOLEAN EFIAPI Sha1Final(IN OUT VOID *Sha1Context, OUT UINT8 *HashValue)
/* If Sha1Context is NULL, then return FALSE. If HashValue is NULL, then return FALSE. */
BOOLEAN EFIAPI Sha1Final(IN OUT VOID *Sha1Context, OUT UINT8 *HashValue)
{
  if ((Sha1Context == NULL) || (HashValue == NULL)) {
    return FALSE;
  }
  return (BOOLEAN)(SHA1_Final (HashValue, (SHA_CTX *)Sha1Context));
}