MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClOsccaSm3_MemoryConsumption.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2022 NXP */
3 /* */
4 /* NXP Confidential. 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 license */
10 /* terms, then you may not retain, install, activate or otherwise use the */
11 /* software. */
12 /*--------------------------------------------------------------------------*/
13 
19 #ifndef MCUXCLOSCCASM3_MEMORYCONSUMPTION_H_
20 #define MCUXCLOSCCASM3_MEMORYCONSUMPTION_H_
21 
29 /****************************************************************************/
30 /* Definitions of workarea buffer sizes for the mcuxClOsccaSm3 functions. */
31 /****************************************************************************/
32 #define MCUXCLOSCCASM3_COMPUTE_CPU_WA_BUFFER_SIZE_SM3 (160u)
33 #define MCUXCLOSCCASM3_COMPUTE_CPU_WA_BUFFER_SIZE_MAX (160u)
34 
35 #define MCUXCLOSCCASM3_INIT_CPU_WA_BUFFER_SIZE (0u)
36 
37 #define MCUXCLOSCCASM3_PROCESS_CPU_WA_BUFFER_SIZE_SM3 (32u)
38 #define MCUXCLOSCCASM3_PROCESS_CPU_WA_BUFFER_SIZE_MAX (32u)
39 
40 #define MCUXCLOSCCASM3_FINISH_CPU_WA_BUFFER_SIZE_SM3 (64u)
41 #define MCUXCLOSCCASM3_FINISH_CPU_WA_BUFFER_SIZE_MAX (64u)
42 
43 #define MCUXCLOSCCASM3_MAX_CPU_WA_BUFFER_SIZE (160u)
44 
45 
54 /****************************************************************************/
55 /* Definitions of context sizes for the mcuxClOsccaSm3 multi-part functions. */
56 /****************************************************************************/
57 
58 #define MCUXCLOSCCASM3_CONTEXT_SIZE (224u)
59 
60  /* mcuxClOsccaSm3_MemoryConsumption */
63 
64 #endif /* MCUXCLOSCCASM3_MEMORYCONSUMPTION_H_ */