Functions of mcuxCsslParamIntegrity component. More...
Functions | |
| mcuxCsslParamIntegrity_Checksum_t | mcuxCsslParamIntegrity_Protect (size_t nargs,...) |
| Calculates a parameter checksum. | |
| mcuxCsslParamIntegrity_Checksum_t | mcuxCsslParamIntegrity_Validate (mcuxCsslParamIntegrity_Checksum_t chk, size_t nargs,...) |
| Verifies the correctness of a parameter checksum. | |
Functions of mcuxCsslParamIntegrity component.
| mcuxCsslParamIntegrity_Checksum_t mcuxCsslParamIntegrity_Protect | ( | size_t | nargs, |
| ... | |||
| ) |
Calculates a parameter checksum.
| nargs | The number of parameters to be protected. |
| ... | The parameters that should be protected. Note that parameters bigger than a single machine word are not supported. |
| mcuxCsslParamIntegrity_Checksum_t mcuxCsslParamIntegrity_Validate | ( | mcuxCsslParamIntegrity_Checksum_t | chk, |
| size_t | nargs, | ||
| ... | |||
| ) |
Verifies the correctness of a parameter checksum.
| chk | The parameter checksum. |
| nargs | The number of parameters to be protected. |
| ... | The parameters that were used to calculate the parameter checksum. Note that parameters bigger than a single machine word are not supported. |
| MCUXCSSLPARAMINTEGRITY_CHECK_VALID | The parameter checksum was correct. |
| MCUXCSSLPARAMINTEGRITY_CHECK_INVALID | The parameter checksum was incorrect. |