2 This is BaseCrypto router support function definition.
4 Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved. <BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _HASH_LIB_BASE_CRYPTO_ROUTER_COMMON_H_
16 #define _HASH_LIB_BASE_CRYPTO_ROUTER_COMMON_H_
19 The function get hash mask info from algorithm.
21 @param HashGuid Hash Guid
27 Tpm2GetHashMaskFromAlgo (
32 The function set digest to digest list.
34 @param DigestList digest list
35 @param Digest digest data
39 Tpm2SetHashToDigestList (
40 IN OUT TPML_DIGEST_VALUES
*DigestList
,
41 IN TPML_DIGEST_VALUES
*Digest