MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxCsslDataIntegrity.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 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
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
114#define MCUX_CSSL_DI_CHECK_EXIT(id, reference, fail) \
115 MCUX_CSSL_DI_CHECK_EXIT_IMPL(id, reference, fail)
116
117/****************************************************************************/
118/* Updates */
119/****************************************************************************/
120
136#define MCUX_CSSL_DI_RECORD(identifier, value) \
137 MCUX_CSSL_DI_RECORD_IMPL(identifier, value)
138
148#define MCUX_CSSL_DI_EXPUNGE(identifier, value) \
149 MCUX_CSSL_DI_EXPUNGE_IMPL(identifier, value)
150
151#endif /* MCUXCSSLDATAINTEGRITY_H_ */
Selection of the implementation for the data integrity mechanism.
Provides the API for the CSSL secure counter mechanism.