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

Flow protection handling core functionality. More...

Macros

#define MCUX_CSSL_FP_DECL_NAME(type, id)
 Construct a name based on type and id.
 
#define MCUX_CSSL_FP_DECL_IMPL(type, id)
 Generic flow protected entity declaration implementation.
 
#define MCUX_CSSL_FP_ID_IMPL()
 Generic identifier generator based on current line number.
 
#define MCUX_CSSL_FP_CONDITIONAL_IMPL(condition, ...)
 Conditional expectation aggregation.
 

Detailed Description

Flow protection handling core functionality.

Declaration
MCUX_CSSL_FP_FUNCTION_DECL_IMPL
Event
MCUX_CSSL_FP_FUNCTION_CALL_IMPL
Expectation
MCUX_CSSL_FP_FUNCTION_CALLED_IMPL

Macro Definition Documentation

◆ MCUX_CSSL_FP_DECL_NAME

#define MCUX_CSSL_FP_DECL_NAME (   type,
  id 
)

Construct a name based on type and id.

Parameters
typeIndicator for the type of declaration.
idIdentifier for the flow protected entity.
Returns
CSSL flow protection entity name for given type and id.

◆ MCUX_CSSL_FP_DECL_IMPL

#define MCUX_CSSL_FP_DECL_IMPL (   type,
  id 
)

Generic flow protected entity declaration implementation.

Parameters
typeIndicator for the type of declaration.
idIdentifier for the flow protected entity.
Returns
CSSL flow protection entity declaration.

◆ MCUX_CSSL_FP_ID_IMPL

#define MCUX_CSSL_FP_ID_IMPL ( )

Generic identifier generator based on current line number.

Returns
Counter value based on the current line number.

◆ MCUX_CSSL_FP_CONDITIONAL_IMPL

#define MCUX_CSSL_FP_CONDITIONAL_IMPL (   condition,
  ... 
)

Conditional expectation aggregation.

Parameters
conditionCondition under which the given expectations apply
expectOne or more (comma separated) declarations of expected code code flow behavior.
Returns
Aggregated counter value for the given expectations, if condition is satisfied. Otherwise 0.