OvmfPkg[all]  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
BlobVerifierLib.h File Reference

Functions

EFI_STATUS EFIAPI VerifyBlob (IN CONST CHAR16 *BlobName, IN CONST VOID *Buf, IN UINT32 BufSize)
 

Detailed Description

Blob verification library

This library class allows verifiying whether blobs from external sources (such as QEMU's firmware config) are trusted.

Copyright (C) 2021, IBM Corporation

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

Function Documentation

EFI_STATUS EFIAPI VerifyBlob ( IN CONST CHAR16 *  BlobName,
IN CONST VOID Buf,
IN UINT32  BufSize 
)

Verify blob from an external source.

Parameters
[in]BlobNameThe name of the blob
[in]BufThe data of the blob
[in]BufSizeThe size of the blob in bytes
Return values
EFI_SUCCESSThe blob was verified successfully.
EFI_ACCESS_DENIEDThe blob could not be verified, and therefore should be considered non-secure.