MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClOsccaSm3_MemoryConsumption.h
Go to the documentation of this file.
1
/*--------------------------------------------------------------------------*/
2
/* Copyright 2022-2023 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
36
#define MCUXCLOSCCASM3_INIT_CPU_WA_BUFFER_SIZE (0u)
37
38
#define MCUXCLOSCCASM3_PROCESS_CPU_WA_BUFFER_SIZE_SM3 (32u)
39
#define MCUXCLOSCCASM3_PROCESS_CPU_WA_BUFFER_SIZE_MAX (32u)
40
41
#define MCUXCLOSCCASM3_FINISH_CPU_WA_BUFFER_SIZE_SM3 (64u)
42
#define MCUXCLOSCCASM3_FINISH_CPU_WA_BUFFER_SIZE_MAX (64u)
43
44
#define MCUXCLOSCCASM3_MAX_CPU_WA_BUFFER_SIZE (160u)
45
46
55
/****************************************************************************/
56
/* Definitions of context sizes for the mcuxClOsccaSm3 multi-part functions. */
57
/****************************************************************************/
58
59
#define MCUXCLOSCCASM3_CONTEXT_SIZE (120u)
60
#define MCUXCLOSCCASM3_CONTEXT_SIZE_IN_WORDS (120u / sizeof(uint32_t))
61
62
/********************************************************************************************/
63
/* Definitions of state buffer sizes for mcuxClHash_export_state and mcuxClHash_import_state */
64
/********************************************************************************************/
65
66
#define MCUXCLOSCCASM3_EXPORT_IMPORT_CPU_WA_BUFFER_SIZE (40u)
67
68
/* mcuxClOsccaSm3_MemoryConsumption */
71
72
#endif
/* MCUXCLOSCCASM3_MEMORYCONSUMPTION_H_ */
mcuxClOsccaSm3_MemoryConsumption.h
Generated by
1.8.15