MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
Flow protection core functionality

Flow protection handling core functionality. More...

Macros

#define MCUX_CSSL_FP_COUNTER_STMT(statement)
 A statement which is only evaluated if a secure counter is used.

Detailed Description

Flow protection handling core functionality.

This subset of Flow protection macros is common to all code flow patterns to be protected.

Macro Definition Documentation

◆ MCUX_CSSL_FP_COUNTER_STMT

#define MCUX_CSSL_FP_COUNTER_STMT ( statement)

A statement which is only evaluated if a secure counter is used.

This macro can be applied to create or use supporting variables that are only needed if the active configuration uses a secure counter, to avoid warnings about unused variables.

This should only be required if a codebase is used with different backend classes for different build configurations.

Parameters
statementThe statement to be conditionally included.