MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClOsccaAeadModes_MemoryConsumption.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2022-2023 NXP */
3/* */
4/* NXP Proprietary. 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 */
10/* license terms, then you may not retain, install, activate or otherwise */
11/* use the software. */
12/*--------------------------------------------------------------------------*/
13
17#ifndef MCUXCLOSCCAAEADMODES_MEMORYCONSUMPTION_H_
18#define MCUXCLOSCCAAEADMODES_MEMORYCONSUMPTION_H_
26#ifdef MCUXCL_FEATURE_SM4_CCM
27
31#define MCUXCLOSCCAAEADMODES_WA_MAX_SIZE (160u)
32
36#define MCUXCLOSCCAAEADMODES_WA_MAX_SIZE_IN_WORDS (MCUXCLOSCCAAEADMODES_WA_MAX_SIZE / sizeof(uint32_t))
37
41#define MCUXCLOSCCAAEADMODES_WA_CCM_ENC_SIZE (160u)
42
46#define MCUXCLOSCCAAEADMODES_WA_CCM_ENC_SIZE_IN_WORDS (MCUXCLOSCCAAEADMODES_WA_CCM_ENC_SIZE / sizeof(uint32_t))
47
51#define MCUXCLOSCCAAEADMODES_WA_CCM_DEC_SIZE (160u)
52
56#define MCUXCLOSCCAAEADMODES_WA_CCM_DEC_SIZE_IN_WORDS (MCUXCLOSCCAAEADMODES_WA_CCM_DEC_SIZE / sizeof(uint32_t))
57
58
59#define MCUXCLOSCCAAEADMODES_CTX_SIZE (128u)
60#define MCUXCLOSCCAAEADMODES_CTX_SIZE_IN_WORDS (MCUXCLOSCCAAEADMODES_CTX_SIZE / sizeof(uint32_t))
61
62#endif /* MCUXCL_FEATURE_SM4_CCM */ /* mcuxClOsccaAeadModes_MemoryConsumption */
66
67#endif /* MCUXCLOSCCAAEADMODES_MEMORYCONSUMPTION_H_ */