MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClOsccaMacModes_MemoryConsumption.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2022-2023 NXP */
3/* */
4/* NXP Proprietary. This software is owned or controlled by NXP and may */
5/* only be used strictly in accordance with the applicable license terms. */
6/* By expressly accepting such terms or by downloading, installing, */
7/* activating and/or otherwise using the software, you are agreeing that */
8/* you have read, and that you agree to comply with and are bound by, such */
9/* license terms. If you do not agree to be bound by the applicable */
10/* license terms, then you may not retain, install, activate or otherwise */
11/* use the software. */
12/*--------------------------------------------------------------------------*/
13
17#ifndef MCUXCLOSCCAMACMODES_MEMORYCONSUMPTION_H_
18#define MCUXCLOSCCAMACMODES_MEMORYCONSUMPTION_H_
19
20#define MCUXCLOSCCAMACMODES_SM4_COMPUTE_CPU_WA_BUFFER_SIZE (192u)
21#define MCUXCLOSCCAMACMODES_SM4_COMPUTE_CPU_WA_BUFFER_SIZE_IN_WORDS (MCUXCLOSCCAMACMODES_SM4_COMPUTE_CPU_WA_BUFFER_SIZE / sizeof(uint32_t))
22
23
24#define MCUXCLOSCCAMACMODES_SM4_INIT_CPU_WA_BUFFER_SIZE (4u)
25#define MCUXCLOSCCAMACMODES_SM4_INIT_CPU_WA_BUFFER_SIZE_IN_WORDS (MCUXCLOSCCAMACMODES_SM4_INIT_CPU_WA_BUFFER_SIZE / sizeof(uint32_t))
26#define MCUXCLOSCCAMACMODES_SM4_PROCESS_CPU_WA_BUFFER_SIZE (128u)
27#define MCUXCLOSCCAMACMODES_SM4_PROCESS_CPU_WA_BUFFER_SIZE_IN_WORDS (MCUXCLOSCCAMACMODES_SM4_PROCESS_CPU_WA_BUFFER_SIZE / sizeof(uint32_t))
28#define MCUXCLOSCCAMACMODES_SM4_FINISH_CPU_WA_BUFFER_SIZE (160u)
29#define MCUXCLOSCCAMACMODES_SM4_FINISH_CPU_WA_BUFFER_SIZE_IN_WORDS (MCUXCLOSCCAMACMODES_SM4_FINISH_CPU_WA_BUFFER_SIZE / sizeof(uint32_t))
30
31#define MCUXCLOSCCAMACMODES_SM4_MAX_CPU_WA_BUFFER_SIZE (224u)
32#define MCUXCLOSCCAMACMODES_SM4_MAX_CPU_WA_BUFFER_SIZE_IN_WORDS (MCUXCLOSCCAMACMODES_SM4_MAX_CPU_WA_BUFFER_SIZE / sizeof(uint32_t))
33
34
35#define MCUXCLOSCCAMACMODES_CTX_SIZE (48u)
36#define MCUXCLOSCCAMACMODES_CTX_SIZE_IN_WORDS (MCUXCLOSCCAMACMODES_CTX_SIZE / sizeof(uint32_t))
37
38#endif /* MCUXCLOSCCAMACMODES_MEMORYCONSUMPTION_H_ */