Counter based implementation for the flow protection mechanism, for a local security counter. More...
#include <mcuxCsslCPreProcessor.h>
#include <mcuxCsslSecureCounter.h>
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Macros | |
#define | MCUX_CSSL_FP_PROTECTED_TYPE_IMPL(resultType) |
Based on a given base type, builds a return type with flow protection. More... | |
#define | MCUX_CSSL_FP_FUNCTION_ENTRY_IMPLn(function, ...) |
Flow protection handler implementation for the function entry point. More... | |
#define | MCUX_CSSL_FP_FUNCTION_ENTRY_IMPL1(function) |
Flow protection handler implementation for the function entry point. More... | |
#define | MCUX_CSSL_FP_FUNCTION_ENTRY_IMPL(...) |
Flow protection handler implementation for the function entry point. More... | |
#define | MCUX_CSSL_FP_FUNCTION_EXIT_IMPLn(id, result, ...) |
Flow protection handler implementation for the function exit point. More... | |
#define | MCUX_CSSL_FP_FUNCTION_EXIT_IMPL1(id) |
Flow protection handler implementation for the function exit point. More... | |
#define | MCUX_CSSL_FP_FUNCTION_EXIT_IMPL2(id, result) |
Flow protection handler implementation for the function exit point. More... | |
#define | MCUX_CSSL_FP_FUNCTION_EXIT_IMPL(...) |
Flow protection handler implementation for the function exit point. More... | |
#define | MCUX_CSSL_FP_FUNCTION_EXIT_WITH_CHECK_IMPLn(id, pass, fail, ...) |
Flow protection handler implementation for the function exit point which includes an actual check of the code flow. More... | |
#define | MCUX_CSSL_FP_FUNCTION_EXIT_WITH_CHECK_IMPL3(id, pass, fail) |
Flow protection handler implementation for the function exit point which includes an actual check of the code flow. More... | |
#define | MCUX_CSSL_FP_FUNCTION_EXIT_WITH_CHECK_IMPL(...) |
Flow protection handler implementation for the function exit point which includes an actual check of the code flow. More... | |
#define | MCUX_CSSL_FP_FUNCTION_EXIT_VOID_IMPL1(id) |
Flow protection handler for the exit point of functions with the return type void . More... | |
#define | MCUX_CSSL_FP_FUNCTION_EXIT_VOID_IMPLn(id, ...) |
#define | MCUX_CSSL_FP_FUNCTION_EXIT_VOID_IMPL(...) |
Flow protection handler for the exit point of functions with the return type void . More... | |
#define | MCUX_CSSL_FP_FUNCTION_CALL_IMPL(result, call) |
Event implementation of a flow protected function call. More... | |
#define | MCUX_CSSL_FP_FUNCTION_CALL_VOID_IMPL(call) |
Event implementation of a flow protected void function call. More... | |
#define | MCUX_CSSL_FP_FUNCTION_CALL_PROTECTED_IMPL(result, token, call) |
Implementation of a flow protected function call meant to be used from within an unprotected function. More... | |
#define | MCUX_CSSL_FP_FUNCTION_CALL_VOID_PROTECTED_IMPL(token, call) |
Implementation of a flow protected void function call meant to be used from within an unprotected function. More... | |
#define | MCUX_CSSL_FP_FUNCTION_CALL_BEGIN_IMPL(result, token, call) |
Implementation of a flow protected function call meant to be used from within an unprotected function, that must be terminated by MCUX_CSSL_FP_FUNCTION_CALL_END_IMPL. More... | |
#define | MCUX_CSSL_FP_FUNCTION_CALL_END_IMPL() |
Implementation of the end of a section started by MCUX_CSSL_FP_FUNCTION_CALL_BEGIN_IMPL. More... | |
#define | MCUX_CSSL_FP_FUNCTION_CALL_VOID_BEGIN_IMPL(token, call) |
Implementation of a flow protected void function call meant to be used from within an unprotected function, that must be terminated by MCUX_CSSL_FP_FUNCTION_CALL_VOID_END_IMPL. More... | |
#define | MCUX_CSSL_FP_FUNCTION_CALL_VOID_END_IMPL() |
Implementation of the end of a section started by MCUX_CSSL_FP_FUNCTION_CALL_VOID_BEGIN_IMPL. More... | |
#define | MCUX_CSSL_FP_ASSERT_IMPL(...) |
Assert an expected state of the code flow. More... | |
Counter based implementation for the flow protection mechanism, for a local security counter.
#define MCUX_CSSL_FP_FUNCTION_CALL_VOID_IMPL | ( | call | ) |
Event implementation of a flow protected void function call.
call | The (protected) function call that must be performed. |