MCUX CLNS MCUX Crypto Library Normal Secure |

Macros | Typedefs | Functions
mcuxCsslParamIntegrity.h File Reference

Top-level include file for the parameter integrity protection mechanism. More...

`#include <stdint.h>`
`#include <stddef.h>`
`#include <stdbool.h>`
`#include <mcuxCsslFlowProtection.h>`

Go to the source code of this file.

## Macros
#define | MCUXCSSLPARAMINTEGRITY_BASE_CHECKSUM
| First eight hex digits of Euler's number. More...
#define | MCUXCSSLPARAMINTEGRITY_CHECK_VALID
| Return value of mcuxCsslParamIntegrity_Validate if the parameter checksum was correct. More...
#define | MCUXCSSLPARAMINTEGRITY_CHECK_INVALID
| Return value of mcuxCsslParamIntegrity_Validate if the parameter checksum was incorrect. More...

## Typedefs
typedef void * | mcuxCsslParamIntegrity_AssertionCpuWordSize_t[(4u==sizeof(size_t)) ?(+1) :(-1)]
| Build time assertion to ensure CPU word size of 32 bit. More...
typedef uint32_t | mcuxCsslParamIntegrity_Checksum_t
| Type of a parameter checksum. More...

## Functions
mcuxCsslParamIntegrity_Checksum_t | mcuxCsslParamIntegrity_Protect (size_t nargs,...)
| Calculates a parameter checksum. More...
uint64_t | mcuxCsslParamIntegrity_Validate (mcuxCsslParamIntegrity_Checksum_t chk, size_t nargs,...)
| Verifies the correctness of a parameter checksum. More...

## Detailed Description

Top-level include file for the parameter integrity protection mechanism.

The library exposes the following functions:

1. Generation of parameter checksums: mcuxCsslParamIntegrity_Protect
2. Validation of parameter checksums: mcuxCsslParamIntegrity_Validate