MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxCsslDataIntegrity_None.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2023-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 MCUXCSSLDATAINTEGRITY_NONE_H_
20#define MCUXCSSLDATAINTEGRITY_NONE_H_
21
29
30
36
37/****************************************************************************/
38/* Constants */
39/****************************************************************************/
40
46#define MCUX_CSSL_DI_CHECK_PASSED_IMPL (MCUX_CSSL_SC_CHECK_PASSED)
47
53#define MCUX_CSSL_DI_CHECK_FAILED_IMPL (MCUX_CSSL_SC_CHECK_FAILED)
54
55/****************************************************************************/
56/* Initialization */
57/****************************************************************************/
58
66#define MCUX_CSSL_DI_INIT_IMPL(backupValue) \
67 uint32_t backupValue = 0u
68
69/****************************************************************************/
70/* Check */
71/****************************************************************************/
72
81#define MCUX_CSSL_DI_CHECK_IMPL(reference) \
82 (MCUX_CSSL_DI_CHECK_PASSED_IMPL)
83
94#define MCUX_CSSL_DI_CHECK_EXIT_IMPL(id, reference, fail) \
95 (void)(reference)
96
97/****************************************************************************/
98/* Updates */
99/****************************************************************************/
100
106
115#define MCUX_CSSL_DI_RECORD_IMPL(identifier, value) \
116 MCUX_CSSL_ANALYSIS_START_PATTERN_DI_CAST() \
117 (void)(value) \
118 MCUX_CSSL_ANALYSIS_STOP_PATTERN_DI_CAST()
119
128#define MCUX_CSSL_DI_EXPUNGE_IMPL(identifier, value) \
129 MCUX_CSSL_ANALYSIS_START_PATTERN_DI_CAST() \
130 (void)(value) \
131 MCUX_CSSL_ANALYSIS_STOP_PATTERN_DI_CAST()
132
133
134#endif /* MCUXCSSLDATAINTEGRITY_NONE_H_ */