/* If Sha1Context is NULL, then return FALSE. If NewSha1Context is NULL, then return FALSE. */
BOOLEAN EFIAPI Sha1Duplicate(IN CONST VOID *Sha1Context, OUT VOID *NewSha1Context)
/* If Sha1Context is NULL, then return FALSE. If NewSha1Context is NULL, then return FALSE. */
BOOLEAN EFIAPI Sha1Duplicate(IN CONST VOID *Sha1Context, OUT VOID *NewSha1Context)
{
  if ((Sha1Context == NULL) || (NewSha1Context == NULL)) {
    return FALSE;
  }
  CopyMem (NewSha1Context, Sha1Context, sizeof (SHA_CTX));
  return TRUE;
}