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_COUNTER_STMT_IMPL(statement) |
| A statement which is only evaluated if a secure counter is used. | |
Flow protection handling core functionality.
This subset of Flow protection macros is common to all code flow patterns to be protected.
| #define MCUX_CSSL_FP_DECL_NAME | ( | type, | |
| id ) |
Construct a name based on type and id.
| type | Indicator for the type of declaration. |
| id | Identifier for the flow protected entity. |
type and id. | #define MCUX_CSSL_FP_DECL_IMPL | ( | type, | |
| id ) |
Generic flow protected entity declaration implementation.
| type | Indicator for the type of declaration. |
| id | Identifier for the flow protected entity. |
| #define MCUX_CSSL_FP_ID_IMPL | ( | ) |
Generic identifier generator based on current line number.
| #define MCUX_CSSL_FP_COUNTER_STMT_IMPL | ( | 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.
| statement | The statement to be conditionally included. |