]>
Commit | Line | Data |
---|---|---|
c1d93242 | 1 | /** @file\r |
07309c3d | 2 | This is BaseCrypto router support function definition.\r |
c1d93242 | 3 | \r |
07309c3d | 4 | Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved. <BR>\r |
c1d93242 JY |
5 | This program and the accompanying materials\r |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef _HASH_LIB_BASE_CRYPTO_ROUTER_COMMON_H_\r | |
16 | #define _HASH_LIB_BASE_CRYPTO_ROUTER_COMMON_H_\r | |
17 | \r | |
18 | /**\r | |
19 | The function get hash mask info from algorithm.\r | |
20 | \r | |
21 | @param HashGuid Hash Guid\r | |
22 | \r | |
23 | @return HashMask\r | |
24 | **/\r | |
25 | UINT32\r | |
26 | EFIAPI\r | |
27 | Tpm2GetHashMaskFromAlgo (\r | |
28 | IN EFI_GUID *HashGuid\r | |
29 | );\r | |
30 | \r | |
31 | /**\r | |
32 | The function set digest to digest list.\r | |
33 | \r | |
34 | @param DigestList digest list\r | |
35 | @param Digest digest data\r | |
36 | **/\r | |
37 | VOID\r | |
38 | EFIAPI\r | |
39 | Tpm2SetHashToDigestList (\r | |
40 | IN OUT TPML_DIGEST_VALUES *DigestList,\r | |
41 | IN TPML_DIGEST_VALUES *Digest\r | |
42 | );\r | |
43 | \r | |
44 | #endif\r |