]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierNull.c
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / OvmfPkg / Library / BlobVerifierLibNull / BlobVerifierNull.c
CommitLineData
0cb48007
DM
1/** @file\r
2\r
3 Null implementation of the blob verifier library.\r
4\r
5 Copyright (C) 2021, IBM Corporation\r
6\r
7 SPDX-License-Identifier: BSD-2-Clause-Patent\r
8**/\r
9\r
10#include <Library/BaseLib.h>\r
11#include <Library/BlobVerifierLib.h>\r
12\r
13/**\r
14 Verify blob from an external source.\r
15\r
16 @param[in] BlobName The name of the blob\r
17 @param[in] Buf The data of the blob\r
18 @param[in] BufSize The size of the blob in bytes\r
19\r
20 @retval EFI_SUCCESS The blob was verified successfully.\r
21 @retval EFI_ACCESS_DENIED The blob could not be verified, and therefore\r
22 should be considered non-secure.\r
23**/\r
24EFI_STATUS\r
25EFIAPI\r
26VerifyBlob (\r
ac0a286f
MK
27 IN CONST CHAR16 *BlobName,\r
28 IN CONST VOID *Buf,\r
29 IN UINT32 BufSize\r
0cb48007
DM
30 )\r
31{\r
32 return EFI_SUCCESS;\r
33}\r