summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Library/OpensslLib/OpensslStub/OpensslCleanse.c
blob: 21c939992dfd5a8e929114ae4dd204fd019668ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/** @file
  Minimal implementation of OPENSSL_cleanse for OpensslLibSm3.inf.

  Copyright (c) 2024, Google LLC. All rights reserved.<BR>

  SPDX-License-Identifier: BSD-2-Clause-Patent

**/

#include <Base.h>
#include <Library/BaseMemoryLib.h>

VOID
OPENSSL_cleanse (
  VOID   *Buffer,
  UINTN  Size
  )
{
  ZeroMem (Buffer, Size);
}