edk2/SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterCommon.h
rdiaz a48fae6611 SecurityPkg: Update HashLibBaseCryptoRouter
HashLibBaseCryptoRouterCommon contained a version of
Tpm2GetHashMaskFromAlgo which was causing conflicts with the
version in Tpm2HelpLib. This version used a GUID to query the
HashMask, updated the name to remove the conflict and be more
inline with the actual function implementation.

Signed-off-by: Raymond Diaz <raymonddiaz@microsoft.com>
2026-06-17 19:16:45 +00:00

36 lines
688 B
C

/** @file
This is BaseCrypto router support function definition.
Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved. <BR>
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
The function get hash mask info from GUID.
@param HashGuid Hash Guid
@return HashMask
**/
UINT32
EFIAPI
Tpm2GetHashMaskFromGuid (
IN EFI_GUID *HashGuid
);
/**
The function set digest to digest list.
@param DigestList digest list
@param Digest digest data
**/
VOID
EFIAPI
Tpm2SetHashToDigestList (
IN OUT TPML_DIGEST_VALUES *DigestList,
IN TPML_DIGEST_VALUES *Digest
);