Top-level include file for the parameter integrity protection mechanism. More...
#include <stdint.h>#include <stddef.h>#include <stdbool.h>#include <mcuxCsslFlowProtection.h>#include <mcuxCsslFlowProtection_FunctionIdentifiers.h>Go to the source code of this file.
Macros | |
| #define | MCUXCSSLPARAMINTEGRITY_BASE_CHECKSUM |
| First eight hex digits of Eulers number. | |
| #define | MCUXCSSLPARAMINTEGRITY_CHECK_VALID |
| Return value of mcuxCsslParamIntegrity_Validate if the parameter checksum was correct. | |
| #define | MCUXCSSLPARAMINTEGRITY_CHECK_INVALID |
| Return value of mcuxCsslParamIntegrity_Validate if the parameter checksum was incorrect. | |
| #define | MCUX_CSSL_PI_PARAM_ADD_CASTED_ARG(x) |
| #define | MCUX_CSSL_PI_VALIDATE(chk, ...) |
| #define | MCUX_CSSL_PI_PROTECT(...) |
Typedefs | |
| typedef void * | mcuxCsslParamIntegrity_AssertionCpuWordSize_t[(4u==sizeof(size_t)) ?(+1) :(-1)] |
| Build time assertion to ensure CPU word size of 32 bit. | |
| typedef uint32_t | mcuxCsslParamIntegrity_Checksum_t |
| Type of a parameter checksum. | |
| typedef uint32_t | mcuxCsslParamIntegrity_Param_t |
| Type of a parameter for the checksum calculation. | |
Functions | |
| mcuxCsslParamIntegrity_Checksum_t | mcuxCsslParamIntegrity_Protect (uint32_t nargs,...) |
| Calculates a parameter checksum. | |
| mcuxCsslParamIntegrity_Checksum_t | mcuxCsslParamIntegrity_Validate (mcuxCsslParamIntegrity_Checksum_t chk, uint32_t nargs,...) |
| Verifies the correctness of a parameter checksum. | |
Top-level include file for the parameter integrity protection mechanism.
The library exposes the following functions: