MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxCsslDataIntegrity_Impl.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_IMPL_H_
20 #define MCUXCSSLDATAINTEGRITY_IMPL_H_
21 
22 /* Include the configuration for the data integrity mechanism. */
24 
25 /* Include the selected implementation of the data integrity mechanism. */
26 #if defined(MCUX_CSSL_DI_USE_SECURE_COUNTER) && (1 == MCUX_CSSL_DI_USE_SECURE_COUNTER)
27 # include <mcuxCsslDataIntegrity_SecureCounter.h>
28 #elif defined(MCUX_CSSL_DI_USE_NONE) && (1 == MCUX_CSSL_DI_USE_NONE)
30 #else
31 # error "No data integrity implementation found/configured."
32 #endif
33 
34 #endif /* MCUXCSSLDATAINTEGRITY_IMPL_H_ */
Configuration of the implementation for the data integrity mechanism.
Implementation that disables the CSSL data integrity mechanism.