MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxCsslDataIntegrity.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2023-2024 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
19#ifndef MCUXCSSLDATAINTEGRITY_H_
20#define MCUXCSSLDATAINTEGRITY_H_
21
22/* Include the Secure Counter definitions */
24
25/* Include the actual implementation of the data integrity mechanism. */
27
43/****************************************************************************/
44/* Constants */
45/****************************************************************************/
46
53#define MCUX_CSSL_DI_CHECK_PASSED \
54 MCUX_CSSL_DI_CHECK_PASSED_IMPL
55
62#define MCUX_CSSL_DI_CHECK_FAILED \
63 MCUX_CSSL_DI_CHECK_FAILED_IMPL
64
65/****************************************************************************/
66/* Initialization */
67/****************************************************************************/
68
81#define MCUX_CSSL_DI_INIT(backupValue) \
82 MCUX_CSSL_DI_INIT_IMPL(backupValue)
83
84/****************************************************************************/
85/* Check */
86/****************************************************************************/
87
98#define MCUX_CSSL_DI_CHECK(reference) \
99 MCUX_CSSL_DI_CHECK_IMPL(reference)
100
116#define MCUX_CSSL_DI_CHECK_EXIT(id, reference, fail) \
117 MCUX_CSSL_DI_CHECK_EXIT_IMPL(id, reference, fail)
118
119/****************************************************************************/
120/* Updates */
121/****************************************************************************/
122
138#define MCUX_CSSL_DI_RECORD(identifier, value) \
139 MCUX_CSSL_DI_RECORD_IMPL(identifier, value)
140
150#define MCUX_CSSL_DI_EXPUNGE(identifier, value) \
151 MCUX_CSSL_DI_EXPUNGE_IMPL(identifier, value)
152
153#endif /* MCUXCSSLDATAINTEGRITY_H_ */
Selection of the implementation for the data integrity mechanism.
Provides the API for the CSSL secure counter mechanism.