TianoCore EDK2 master
|
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/Tpm2CommandLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/HashLib.h>
#include <Protocol/Tcg2Protocol.h>
Go to the source code of this file.
Data Structures | |
struct | TPM2_HASH_MASK |
Functions | |
UINT32 EFIAPI | Tpm2GetHashMaskFromAlgo (IN EFI_GUID *HashGuid) |
VOID EFIAPI | Tpm2SetHashToDigestList (IN OUT TPML_DIGEST_VALUES *DigestList, IN TPML_DIGEST_VALUES *Digest) |
Variables | |
TPM2_HASH_MASK | mTpm2HashMask [] |
This is BaseCrypto router support function.
Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file HashLibBaseCryptoRouterCommon.c.
The function get hash mask info from algorithm.
HashGuid | Hash Guid |
Definition at line 40 of file HashLibBaseCryptoRouterCommon.c.
VOID EFIAPI Tpm2SetHashToDigestList | ( | IN OUT TPML_DIGEST_VALUES * | DigestList, |
IN TPML_DIGEST_VALUES * | Digest | ||
) |
The function set digest to digest list.
DigestList | digest list |
Digest | digest data |
Definition at line 63 of file HashLibBaseCryptoRouterCommon.c.
TPM2_HASH_MASK mTpm2HashMask[] |
Definition at line 23 of file HashLibBaseCryptoRouterCommon.c.