MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClCipherModes_MemoryConsumption.h
1
/*--------------------------------------------------------------------------*/
2
/* Copyright 2021-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 MCUXCLCIPHER_MEMORYCONSUMPTION_H_
20
#define MCUXCLCIPHER_MEMORYCONSUMPTION_H_
21
28
29
#include <
mcuxClCore_Macros.h
>
30
31
/* Workarea sizes */
32
#define MCUXCLCIPHER_AES_ENCRYPT_CPU_WA_BUFFER_SIZE (80u)
33
#define MCUXCLCIPHER_AES_DECRYPT_CPU_WA_BUFFER_SIZE (80u)
34
#define MCUXCLCIPHER_AES_ENCRYPT_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLCIPHER_AES_ENCRYPT_CPU_WA_BUFFER_SIZE)
35
#define MCUXCLCIPHER_AES_DECRYPT_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLCIPHER_AES_DECRYPT_CPU_WA_BUFFER_SIZE)
36
37
38
#define MCUXCLCIPHER_AES_INIT_ENCRYPT_CPU_WA_BUFFER_SIZE (80u)
39
#define MCUXCLCIPHER_AES_INIT_DECRYPT_CPU_WA_BUFFER_SIZE (80u)
40
#define MCUXCLCIPHER_AES_PROCESS_CPU_WA_BUFFER_SIZE (80u)
41
#define MCUXCLCIPHER_AES_FINISH_CPU_WA_BUFFER_SIZE (80u)
42
#define MCUXCLCIPHER_AES_INIT_ENCRYPT_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLCIPHER_AES_INIT_ENCRYPT_CPU_WA_BUFFER_SIZE)
43
#define MCUXCLCIPHER_AES_INIT_DECRYPT_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLCIPHER_AES_INIT_DECRYPT_CPU_WA_BUFFER_SIZE)
44
#define MCUXCLCIPHER_AES_PROCESS_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLCIPHER_AES_PROCESS_CPU_WA_BUFFER_SIZE)
45
#define MCUXCLCIPHER_AES_FINISH_CPU_WA_BUFFER_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLCIPHER_AES_FINISH_CPU_WA_BUFFER_SIZE)
46
47
48
#define MCUXCLCIPHER_MAX_AES_CPU_WA_BUFFER_SIZE (MCUXCLCIPHER_AES_ENCRYPT_CPU_WA_BUFFER_SIZE)
49
#define MCUXCLCIPHER_MAX_AES_CPU_WA_BUFFER_SIZE_IN_WORDS (MCUXCLCIPHER_AES_ENCRYPT_CPU_WA_BUFFER_SIZE_IN_WORDS)
50
51
52
/* Context sizes */
53
#define MCUXCLCIPHER_AES_CONTEXT_SIZE (108u)
54
#define MCUXCLCIPHER_AES_CONTEXT_SIZE_IN_WORDS MCUXCLCORE_NUM_OF_CPUWORDS_FLOOR(MCUXCLCIPHER_AES_CONTEXT_SIZE)
55
56
58
59
#endif
/* MCUXCLCIPHER_MEMORYCONSUMPTION_H_ */
mcuxClCore_Macros.h
Definition of macros.
platform
mcxa2xx
mcuxClCipherModes_MemoryConsumption.h
Generated by
1.16.1