MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches

Data integrity handling core functionality, when data integrity is disabled. More...

Macros

#define MCUX_CSSL_DI_CHECK_PASSED_IMPL
 Positive comparison result value.
 
#define MCUX_CSSL_DI_CHECK_FAILED_IMPL
 Negative comparison result value.
 
#define MCUX_CSSL_DI_INIT_IMPL(backupValue)
 Initialize the backup of the data integrity value to zero.
 
#define MCUX_CSSL_DI_CHECK_IMPL(reference)
 Comparison operation implementation for the data integrity.
 
#define MCUX_CSSL_DI_CHECK_EXIT_IMPL(id, reference, fail)
 Comparison operation implementation for the data integrity.
 

Detailed Description

Data integrity handling core functionality, when data integrity is disabled.

Macro Definition Documentation

◆ MCUX_CSSL_DI_CHECK_PASSED_IMPL

#define MCUX_CSSL_DI_CHECK_PASSED_IMPL

Positive comparison result value.

◆ MCUX_CSSL_DI_CHECK_FAILED_IMPL

#define MCUX_CSSL_DI_CHECK_FAILED_IMPL

Negative comparison result value.

◆ MCUX_CSSL_DI_INIT_IMPL

#define MCUX_CSSL_DI_INIT_IMPL (   backupValue)

Initialize the backup of the data integrity value to zero.

Parameters
backupValueFresh variable name to store the current DI value.

◆ MCUX_CSSL_DI_CHECK_IMPL

#define MCUX_CSSL_DI_CHECK_IMPL (   reference)

Comparison operation implementation for the data integrity.

Parameters
referenceReference value to compare the data integrity value against.
Returns
Always MCUX_CSSL_DI_CHECK_PASSED.

◆ MCUX_CSSL_DI_CHECK_EXIT_IMPL

#define MCUX_CSSL_DI_CHECK_EXIT_IMPL (   id,
  reference,
  fail 
)

Comparison operation implementation for the data integrity.

It has no impact on the normal execution of the calling function.

Parameters
idIdentifier of the function from which we will exit (ignored).
referenceReference value to compare the data integrity value against.
failResult that should be returned if the data integrity check failed (ignored).