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