MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClAeadModes_MemoryConsumption.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2021-2024 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
16
17#ifndef MCUXCLAEADMODES_MEMORYCONSUMPTION_H_
18#define MCUXCLAEADMODES_MEMORYCONSUMPTION_H_
19
20#include <mcuxClCore_Macros.h>
21
29
30#define MCUXCLAEAD_ENCRYPT_CPU_WA_BUFFER_SIZE (576u)
31#define MCUXCLAEAD_ENCRYPT_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLAEAD_ENCRYPT_CPU_WA_BUFFER_SIZE )
32#define MCUXCLAEAD_DECRYPT_CPU_WA_BUFFER_SIZE (576u)
33#define MCUXCLAEAD_DECRYPT_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLAEAD_DECRYPT_CPU_WA_BUFFER_SIZE )
34
35#define MCUXCLAEAD_INIT_ENCRYPT_CPU_WA_BUFFER_SIZE (272u)
36#define MCUXCLAEAD_INIT_ENCRYPT_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLAEAD_INIT_ENCRYPT_CPU_WA_BUFFER_SIZE )
37#define MCUXCLAEAD_INIT_DECRYPT_CPU_WA_BUFFER_SIZE (272u)
38#define MCUXCLAEAD_INIT_DECRYPT_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLAEAD_INIT_DECRYPT_CPU_WA_BUFFER_SIZE )
39
40
41
42#define MCUXCLAEAD_INIT_CPU_WA_BUFFER_SIZE (272u)
43#define MCUXCLAEAD_INIT_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLAEAD_INIT_CPU_WA_BUFFER_SIZE)
44#define MCUXCLAEAD_PROCESS_CPU_WA_BUFFER_SIZE (272u)
45#define MCUXCLAEAD_PROCESS_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLAEAD_PROCESS_CPU_WA_BUFFER_SIZE)
46#define MCUXCLAEAD_PROCESS_ADATA_CPU_WA_BUFFER_SIZE (272u)
47#define MCUXCLAEAD_PROCESS_ADATA_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLAEAD_PROCESS_ADATA_CPU_WA_BUFFER_SIZE )
48#define MCUXCLAEAD_FINISH_CPU_WA_BUFFER_SIZE (272u)
49#define MCUXCLAEAD_FINISH_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLAEAD_FINISH_CPU_WA_BUFFER_SIZE )
50#define MCUXCLAEAD_VERIFY_CPU_WA_BUFFER_SIZE (272u)
51#define MCUXCLAEAD_VERIFY_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLAEAD_VERIFY_CPU_WA_BUFFER_SIZE )
52#define MCUXCLAEAD_MAX_CPU_WA_BUFFER_SIZE (576u)
53#define MCUXCLAEAD_MAX_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLAEAD_MAX_CPU_WA_BUFFER_SIZE )
54
55#define MCUXCLAEAD_CONTEXT_SIZE (304u)
56
57
58#define MCUXCLAEAD_WA_SIZE_MAX (576u)
59#define MCUXCLAEAD_WA_SIZE_IN_WORDS_MAX MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLAEAD_WA_SIZE_MAX )
60 /* mcuxClAead_MemoryConsumption */
64
65#endif /* MCUXCLAEADMODES_MEMORYCONSUMPTION_H_ */
Definition of macros.