TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptParallelHashNull.c File Reference
#include "InternalCryptLib.h"

Go to the source code of this file.

Functions

BOOLEAN EFIAPI ParallelHash256HashAll (IN CONST VOID *Input, IN UINTN InputByteLen, IN UINTN BlockSize, OUT VOID *Output, IN UINTN OutputByteLen, IN CONST VOID *Customization, IN UINTN CustomByteLen)
 

Detailed Description

ParallelHash Implementation which does not provide real capabilities.

Copyright (c) 2023, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file CryptParallelHashNull.c.

Function Documentation

◆ ParallelHash256HashAll()

BOOLEAN EFIAPI ParallelHash256HashAll ( IN CONST VOID *  Input,
IN UINTN  InputByteLen,
IN UINTN  BlockSize,
OUT VOID *  Output,
IN UINTN  OutputByteLen,
IN CONST VOID *  Customization,
IN UINTN  CustomByteLen 
)

Parallel hash function ParallelHash256, as defined in NIST's Special Publication 800-185, published December 2016.

Parameters
[in]InputPointer to the input message (X).
[in]InputByteLenThe number(>0) of input bytes provided for the input data.
[in]BlockSizeThe size of each block (B).
[out]OutputPointer to the output buffer.
[in]OutputByteLenThe desired number of output bytes (L).
[in]CustomizationPointer to the customization string (S).
[in]CustomByteLenThe length of the customization string in bytes.
Return values
FALSEThis interface is not supported.

Definition at line 28 of file CryptParallelHashNull.c.