MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClMacModes_MemoryConsumption.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2020-2025 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
18
19#ifndef MCUXCLMACMODES_MEMORYCONSUMPTION_H_
20#define MCUXCLMACMODES_MEMORYCONSUMPTION_H_
21
22#include <mcuxClCore_Macros.h>
23#include <mcuxClCipherModes_MemoryConsumption.h>
24
31
32/* Workarea sizes */
33#define MCUXCLMAC_MAX_CPU_WA_BUFFER_SIZE (84u)
34#define MCUXCLMAC_MAX_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_MAX_CPU_WA_BUFFER_SIZE)
35
36#define MCUXCLMAC_COMPUTE_CPU_WA_BUFFER_SIZE (84u)
37#define MCUXCLMAC_COMPUTE_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_COMPUTE_CPU_WA_BUFFER_SIZE)
38#define MCUXCLMAC_INIT_CPU_WA_BUFFER_SIZE (84u)
39#define MCUXCLMAC_INIT_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_INIT_CPU_WA_BUFFER_SIZE)
40#define MCUXCLMAC_PROCESS_CPU_WA_BUFFER_SIZE (84u)
41#define MCUXCLMAC_PROCESS_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_PROCESS_CPU_WA_BUFFER_SIZE)
42#define MCUXCLMAC_PROCESS_NONBLOCKING_CPU_WA_BUFFER_SIZE (84u)
43#define MCUXCLMAC_PROCESS_NONBLOCKING_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_PROCESS_NONBLOCKING_CPU_WA_BUFFER_SIZE)
44#define MCUXCLMAC_FINISH_CPU_WA_BUFFER_SIZE (84u)
45#define MCUXCLMAC_FINISH_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_FINISH_CPU_WA_BUFFER_SIZE)
46
47/* Context sizes */
48#define MCUXCLMAC_CONTEXT_SIZE (144u)
49#define MCUXCLMAC_CONTEXT_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_CONTEXT_SIZE)
50
51/* Mode descriptor sizes */
52 /* mcuxClMac_MemoryConsumption */
56
57#endif /* MCUXCLMACMODES_MEMORYCONSUMPTION_H_ */
Definition of macros.