TianoCore EDK2 master
Loading...
Searching...
No Matches
HashLibBaseCryptoRouterCommon.h File Reference

Go to the source code of this file.

Functions

UINT32 EFIAPI Tpm2GetHashMaskFromAlgo (IN EFI_GUID *HashGuid)
 
VOID EFIAPI Tpm2SetHashToDigestList (IN OUT TPML_DIGEST_VALUES *DigestList, IN TPML_DIGEST_VALUES *Digest)
 

Detailed Description

This is BaseCrypto router support function definition.

Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file HashLibBaseCryptoRouterCommon.h.

Function Documentation

◆ Tpm2GetHashMaskFromAlgo()

UINT32 EFIAPI Tpm2GetHashMaskFromAlgo ( IN EFI_GUID HashGuid)

The function get hash mask info from algorithm.

Parameters
HashGuidHash Guid
Returns
HashMask

Definition at line 40 of file HashLibBaseCryptoRouterCommon.c.

◆ Tpm2SetHashToDigestList()

VOID EFIAPI Tpm2SetHashToDigestList ( IN OUT TPML_DIGEST_VALUES DigestList,
IN TPML_DIGEST_VALUES Digest 
)

The function set digest to digest list.

Parameters
DigestListdigest list
Digestdigest data

Definition at line 63 of file HashLibBaseCryptoRouterCommon.c.