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

Support for flow protected loops. More...

Macros

#define MCUX_CSSL_FP_LOOP_ID(id)
 Generator for loop identifiers.
 
#define MCUX_CSSL_FP_LOOP_DECL_IMPL(id)
 Declaration implementation of a flow protected loop.
 
#define MCUX_CSSL_FP_LOOP_VALUE(id)
 Macro to get the value for a given loop.
 
#define MCUX_CSSL_FP_LOOP_ITERATION_IMPLn(id, ...)
 Event implementation of a loop iteration (with expectations).
 
#define MCUX_CSSL_FP_LOOP_ITERATION_IMPL1(id)
 Event implementation of a loop iteration (without expectations).
 
#define MCUX_CSSL_FP_LOOP_ITERATION_IMPL(...)
 Event implementation of a loop iteration.
 
#define MCUX_CSSL_FP_LOOP_ITERATIONS_IMPL(id, count)
 Expectation implementation of a number of loop iterations.
 

Detailed Description

Support for flow protected loops.

Declaration
MCUX_CSSL_FP_LOOP_DECL_IMPL
Event
MCUX_CSSL_FP_LOOP_ITERATION_IMPL
Expectation
MCUX_CSSL_FP_LOOP_ITERATIONS_IMPL

Macro Definition Documentation

◆ MCUX_CSSL_FP_LOOP_ID

#define MCUX_CSSL_FP_LOOP_ID (   id)

Generator for loop identifiers.

Parameters
idIdentifier for the flow protected loop.
Returns
Counter value for the given loop.

◆ MCUX_CSSL_FP_LOOP_DECL_IMPL

#define MCUX_CSSL_FP_LOOP_DECL_IMPL (   id)

Declaration implementation of a flow protected loop.

Parameters
idIdentifier for the loop that is flow protected.

◆ MCUX_CSSL_FP_LOOP_VALUE

#define MCUX_CSSL_FP_LOOP_VALUE (   id)

Macro to get the value for a given loop.

Parameters
idIdentifier for the loop that is flow protected.
Returns
The counter value for the given loop id.

◆ MCUX_CSSL_FP_LOOP_ITERATION_IMPLn

#define MCUX_CSSL_FP_LOOP_ITERATION_IMPLn (   id,
  ... 
)

Event implementation of a loop iteration (with expectations).

See also
MCUX_CSSL_FP_LOOP_ITERATION_IMPL
Parameters
idIdentifier for the loop that is flow protected.
expectOne or more (comma separated) declarations of expected code flow behavior related to this event.

◆ MCUX_CSSL_FP_LOOP_ITERATION_IMPL1

#define MCUX_CSSL_FP_LOOP_ITERATION_IMPL1 (   id)

Event implementation of a loop iteration (without expectations).

See also
MCUX_CSSL_FP_LOOP_ITERATION_IMPL
MCUX_CSSL_FP_LOOP_ITERATION_IMPLn
Parameters
idIdentifier for the loop that is flow protected.

◆ MCUX_CSSL_FP_LOOP_ITERATION_IMPL

#define MCUX_CSSL_FP_LOOP_ITERATION_IMPL (   ...)

Event implementation of a loop iteration.

Implemented as an overloaded macro to simplify the use of the API.

See also
MCUX_CSSL_FP_LOOP_ITERATION_IMPL1
MCUX_CSSL_FP_LOOP_ITERATION_IMPLn
Parameters
idIdentifier for the loop that is flow protected.
expectZero or more (comma separated) declarations of expected code flow behavior related to this event.

◆ MCUX_CSSL_FP_LOOP_ITERATIONS_IMPL

#define MCUX_CSSL_FP_LOOP_ITERATIONS_IMPL (   id,
  count 
)

Expectation implementation of a number of loop iterations.

Parameters
idIdentifier of the flow protected loop.
countNumber of expected iterations.