MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClHash_MemoryConsumption.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2020-2024 NXP */
3/* */
4/* NXP Confidential and Proprietary. This software is owned or controlled */
5/* by NXP and may only be used strictly in accordance with the applicable */
6/* license terms. By expressly accepting such terms or by downloading, */
7/* installing, activating and/or otherwise using the software, you are */
8/* agreeing that you have read, and that you agree to comply with and are */
9/* bound by, such license terms. If you do not agree to be bound by the */
10/* applicable license terms, then you may not retain, install, activate or */
11/* otherwise use the software. */
12/*--------------------------------------------------------------------------*/
13
16
17#ifndef MCUXCLHASH_MEMORYCONSUMPTION_H_
18#define MCUXCLHASH_MEMORYCONSUMPTION_H_
19
20#define MCUXCLHASH_COMPUTE_CPU_WA_BUFFER_SIZE_MAX (152u)
21#define MCUXCLHASH_COMPARE_CPU_WA_BUFFER_SIZE_MAX (152u)
22#define MCUXCLHASH_INIT_CPU_WA_BUFFER_SIZE (4u)
23#define MCUXCLHASH_PROCESS_CPU_WA_BUFFER_SIZE_MAX (152u)
24#define MCUXCLHASH_FINISH_CPU_WA_BUFFER_SIZE_MAX (152u)
25#define MCUXCLHASH_VERIFY_CPU_WA_BUFFER_SIZE_MAX (152u)
26
27#define MCUXCLHASH_MAX_CPU_WA_BUFFER_SIZE (152u)
28
29
30/****************************************************************************/
31/* Definitions of context sizes for the mcuxClHash multi-part functions. */
32/****************************************************************************/
33
34#define MCUXCLHASH_CONTEXT_SIZE (400u)
35#define MCUXCLHASH_CONTEXT_SIZE_IN_WORDS (400u / sizeof(uint32_t))
36
37
38#endif /* MCUXCLHASH_MEMORYCONSUMPTION_H_ */