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