MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClKey_MemoryConsumption.h
1
/*--------------------------------------------------------------------------*/
2
/* Copyright 2021-2023 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
14
#ifndef MCUXCLKEY_MEMORYCONSUMPTION_H_
15
#define MCUXCLKEY_MEMORYCONSUMPTION_H_
16
17
#include <mcuxClCore_Platform.h>
18
19
21
#define MCUXCLKEY_ROUND_UP_TO_CPU_WORDSIZE(size) \
22
((((size) + sizeof(uint32_t) - 1U ) / (sizeof(uint32_t))) * (sizeof(uint32_t)))
23
24
25
#define MCUXCLKEY_DESCRIPTOR_SIZE (56u)
26
#define MCUXCLKEY_DESCRIPTOR_SIZE_IN_WORDS (MCUXCLKEY_DESCRIPTOR_SIZE / sizeof(uint32_t))
27
28
#define MCUXCLKEY_TYPEDESCRIPTOR_SIZE (12u)
29
#define MCUXCLKEY_TYPEDESCRIPTOR_SIZE_IN_WORDS (MCUXCLKEY_TYPEDESCRIPTOR_SIZE / sizeof(uint32_t))
30
31
#define MCUXCLKEY_CUSTOMTYPEDESCRIPTOR_SIZE (12u)
32
#define MCUXCLKEY_CUSTOMTYPEDESCRIPTOR_SIZE_IN_WORDS (MCUXCLKEY_CUSTOMTYPEDESCRIPTOR_SIZE / sizeof(uint32_t))
33
34
35
#endif
/* MCUXCLKEY_MEMORYCONSUMPTION_H_ */
mcuxClKey_MemoryConsumption.h
Generated by
1.8.15