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

Support for flow protected switches. More...

Macros

#define MCUX_CSSL_FP_SWITCH_DECL_IMPL(id)
 Declaration implementation of a flow protected switch.
#define MCUX_CSSL_FP_SWITCH_CASE_IMPL(...)
 Case that is being handled from a switch.
#define MCUX_CSSL_FP_SWITCH_DEFAULT_IMPL(...)
 Case that is being handled from a switch.
#define MCUX_CSSL_FP_SWITCH_TAKEN_IMPL(...)
 Expected that a specific case is handled from a switch.
#define MCUX_CSSL_FP_SWITCH_TAKEN_DEFAULT_IMPL(...)
 Expected that default case is handled from a switch.

Detailed Description

Macro Definition Documentation

◆ MCUX_CSSL_FP_SWITCH_DECL_IMPL

#define MCUX_CSSL_FP_SWITCH_DECL_IMPL ( id)

Declaration implementation of a flow protected switch.

Parameters
idIdentifier for the switch that is flow protected.

◆ MCUX_CSSL_FP_SWITCH_CASE_IMPL

#define MCUX_CSSL_FP_SWITCH_CASE_IMPL ( ...)

Case that is being handled from a switch.

Parameters
idIdentifier of the flow protected switch.
caseCase value that is chosen in the switch.
expectZero or more (comma separated) declarations of expected code flow behavior related to this event.

◆ MCUX_CSSL_FP_SWITCH_DEFAULT_IMPL

#define MCUX_CSSL_FP_SWITCH_DEFAULT_IMPL ( ...)

Case that is being handled from a switch.

Parameters
idIdentifier of the flow protected switch.
expectZero or more (comma separated) declarations of expected code flow behavior related to this event.

◆ MCUX_CSSL_FP_SWITCH_TAKEN_IMPL

#define MCUX_CSSL_FP_SWITCH_TAKEN_IMPL ( ...)

Expected that a specific case is handled from a switch.

Parameters
idIdentifier of the flow protected switch.
caseValue of the case that is expected to be chosen in the switch.
conditionOptional, condition under which the case is taken.

◆ MCUX_CSSL_FP_SWITCH_TAKEN_DEFAULT_IMPL

#define MCUX_CSSL_FP_SWITCH_TAKEN_DEFAULT_IMPL ( ...)

Expected that default case is handled from a switch.

Parameters
idIdentifier of the flow protected switch.
conditionOptional, condition under which the default case is taken.