MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxCsslSecureCounter_None.h
Go to the documentation of this file.
1
/*--------------------------------------------------------------------------*/
2
/* Copyright 2020-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
18
19
#ifndef MCUXCSSLSECURECOUNTER_NONE_H_
20
#define MCUXCSSLSECURECOUNTER_NONE_H_
21
29
30
38
39
/****************************************************************************/
40
/* Constants */
41
/****************************************************************************/
42
48
#define MCUX_CSSL_SC_CHECK_PASSED_IMPL (0xA5A5A5A5u)
49
55
#define MCUX_CSSL_SC_CHECK_FAILED_IMPL (~ MCUX_CSSL_SC_CHECK_PASSED_IMPL)
56
62
#define MCUX_CSSL_SC_COUNTER_TYPE_IMPL \
63
uint32_t
64
70
#define MCUX_CSSL_SC_VALUE_TYPE_IMPL \
71
static const uint32_t
72
78
#define MCUX_CSSL_SC_BALANCING_VALUE_TYPE_IMPL \
79
uint32_t
80
81
/****************************************************************************/
82
/* Initialization */
83
/****************************************************************************/
84
90
#define MCUX_CSSL_SC_ALLOC_IMPL() \
91
/* intentionally empty */
92
100
#define MCUX_CSSL_SC_INIT_IMPL(value) \
101
/* intentionally empty */
102
103
/****************************************************************************/
104
/* Check */
105
/****************************************************************************/
106
115
#define MCUX_CSSL_SC_CHECK_IMPL(reference) \
116
(MCUX_CSSL_SC_CHECK_PASSED_IMPL)
117
118
/****************************************************************************/
119
/* Counter increment */
120
/****************************************************************************/
126
136
#define MCUX_CSSL_SC_ADD_IMPL(value) \
137
/* intentionally empty */
138
148
#define MCUX_CSSL_SC_ADD_ON_CALL_IMPL(value) \
149
/* intentionally empty */
150
158
#define MCUX_CSSL_SC_ADD_0X1_IMPL() \
159
/* intentionally empty */
160
168
#define MCUX_CSSL_SC_ADD_0X10_IMPL() \
169
/* intentionally empty */
170
178
#define MCUX_CSSL_SC_ADD_0X100_IMPL() \
179
/* intentionally empty */
180
181
/****************************************************************************/
182
/* Counter decrement */
183
/****************************************************************************/
189
199
#define MCUX_CSSL_SC_SUB_IMPL(value) \
200
/* intentionally empty */
201
209
#define MCUX_CSSL_SC_SUB_0X1_IMPL() \
210
/* intentionally empty */
211
219
#define MCUX_CSSL_SC_SUB_0X10_IMPL() \
220
/* intentionally empty */
221
229
#define MCUX_CSSL_SC_SUB_0X100_IMPL() \
230
/* intentionally empty */
231
232
/****************************************************************************/
233
/* Direct access (optional) */
234
/****************************************************************************/
243
255
#define MCUX_CSSL_SC_VALUE_IMPL() \
256
1/0
/* not supported */
257
270
#define MCUX_CSSL_SC_ASSIGN_IMPL(value) \
271
/* intentionally empty */
272
273
274
#endif
/* MCUXCSSLSECURECOUNTER_NONE_H_ */
mcuxCsslSecureCounter_None.h
Generated by
1.16.1