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-2024 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 MCUXCLMACMODES_MEMORYCONSUMPTION_H_
20#define MCUXCLMACMODES_MEMORYCONSUMPTION_H_
21
22#include <mcuxClCore_Macros.h>
23
31/* Workarea sizes */
32#define MCUXCLMAC_MAX_CPU_WA_BUFFER_SIZE (16u)
33#define MCUXCLMAC_MAX_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_MAX_CPU_WA_BUFFER_SIZE)
34
35#define MCUXCLMAC_COMPUTE_CPU_WA_BUFFER_SIZE (16u)
36#define MCUXCLMAC_COMPUTE_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_COMPUTE_CPU_WA_BUFFER_SIZE)
37#define MCUXCLMAC_INIT_CPU_WA_BUFFER_SIZE (16u)
38#define MCUXCLMAC_INIT_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_INIT_CPU_WA_BUFFER_SIZE)
39#define MCUXCLMAC_PROCESS_CPU_WA_BUFFER_SIZE (16u)
40#define MCUXCLMAC_PROCESS_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_PROCESS_CPU_WA_BUFFER_SIZE)
41#define MCUXCLMAC_FINISH_CPU_WA_BUFFER_SIZE (16u)
42#define MCUXCLMAC_FINISH_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_FINISH_CPU_WA_BUFFER_SIZE)
43
44/* Context sizes */
45#define MCUXCLMAC_CONTEXT_SIZE (52u)
46#define MCUXCLMAC_CONTEXT_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_CEIL(MCUXCLMAC_CONTEXT_SIZE)
47
48/* Mode descriptor sizes */
49 /* mcuxClMac_MemoryConsumption */
53
54#endif /* MCUXCLMACMODES_MEMORYCONSUMPTION_H_ */
Definition of macros.