/* If Sha256Context is NULL, then return FALSE. If NewSha256Context is NULL, then return FALSE. */
BOOLEAN EFIAPI Sha256Duplicate(IN CONST VOID *Sha256Context, OUT VOID *NewSha256Context)
/* If Sha256Context is NULL, then return FALSE. If NewSha256Context is NULL, then return FALSE. */
BOOLEAN EFIAPI Sha256Duplicate(IN CONST VOID *Sha256Context, OUT VOID *NewSha256Context)
{
  if ((Sha256Context == NULL) || (NewSha256Context == NULL)) {
    return FALSE;
  }
  mbedtls_sha256_clone (NewSha256Context, Sha256Context);
  return TRUE;
}