]>
Commit | Line | Data |
---|---|---|
c1e66210 ZL |
1 | /** @file\r |
2 | ParallelHash Implementation which does not provide real capabilities.\r | |
3 | \r | |
4 | Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r | |
5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
6 | \r | |
7 | **/\r | |
8 | \r | |
9 | #include "InternalCryptLib.h"\r | |
10 | \r | |
11 | /**\r | |
12 | Parallel hash function ParallelHash256, as defined in NIST's Special Publication 800-185,\r | |
13 | published December 2016.\r | |
14 | \r | |
15 | @param[in] Input Pointer to the input message (X).\r | |
16 | @param[in] InputByteLen The number(>0) of input bytes provided for the input data.\r | |
17 | @param[in] BlockSize The size of each block (B).\r | |
18 | @param[out] Output Pointer to the output buffer.\r | |
19 | @param[in] OutputByteLen The desired number of output bytes (L).\r | |
20 | @param[in] Customization Pointer to the customization string (S).\r | |
21 | @param[in] CustomByteLen The length of the customization string in bytes.\r | |
22 | \r | |
23 | @retval FALSE This interface is not supported.\r | |
24 | \r | |
25 | **/\r | |
26 | BOOLEAN\r | |
27 | EFIAPI\r | |
28 | ParallelHash256HashAll (\r | |
29 | IN CONST VOID *Input,\r | |
30 | IN UINTN InputByteLen,\r | |
31 | IN UINTN BlockSize,\r | |
32 | OUT VOID *Output,\r | |
33 | IN UINTN OutputByteLen,\r | |
34 | IN CONST VOID *Customization,\r | |
35 | IN UINTN CustomByteLen\r | |
36 | )\r | |
37 | {\r | |
38 | ASSERT (FALSE);\r | |
39 | return FALSE;\r | |
40 | }\r |