MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxCsslDataIntegrity_SecureCounter.h File Reference

Implementation that enables the CSSL data integrity mechanism, based on secure counter. More...

#include <mcuxCsslAnalysis.h>
#include <mcuxCsslFlowProtection.h>

Go to the source code of this file.

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_BACKUP_SC(backupValue)
 Backs up the current secure counter value.
#define MCUX_CSSL_DI_RESTORE_SC_REF(reference)
 Restores the data integrity reference value to the corresponding HW SFR.
#define MCUX_CSSL_DI_INIT_IMPL(backupValue)
 Backup of the current data integrity value, that will be checked later on with MCUX_CSSL_SC_CHECK.
#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.
#define MCUX_CSSL_DI_RECORD_IMPL(identifier, value)
 Implementation: Record the value for data integrity checking.
#define MCUX_CSSL_DI_EXPUNGE_IMPL(identifier, value)
 Implementation: Expunge the record for value.

Detailed Description

Implementation that enables the CSSL data integrity mechanism, based on secure counter.