MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxCsslParamIntegrity Function Definitions

Functions of mcuxCsslParamIntegrity component. More...

Functions

mcuxCsslParamIntegrity_Checksum_t mcuxCsslParamIntegrity_Protect (size_t nargs,...)
 Calculates a parameter checksum. More...
 
 MCUX_CSSL_FP_PROTECTED_TYPE (mcuxCsslParamIntegrity_Checksum_t) mcuxCsslParamIntegrity_Validate(mcuxCsslParamIntegrity_Checksum_t chk
 Verifies the correctness of a parameter checksum. More...
 

Variables

size_t nargs
 

Detailed Description

Functions of mcuxCsslParamIntegrity component.

Function Documentation

◆ mcuxCsslParamIntegrity_Protect()

mcuxCsslParamIntegrity_Checksum_t mcuxCsslParamIntegrity_Protect ( size_t  nargs,
  ... 
)

Calculates a parameter checksum.

Parameters
nargsThe number of parameters to be protected.
...The parameters that should be protected. Note that parameters bigger than a single machine word are not supported.
Returns
checksum over the input parameters to be protected

◆ MCUX_CSSL_FP_PROTECTED_TYPE()

MCUX_CSSL_FP_PROTECTED_TYPE ( mcuxCsslParamIntegrity_Checksum_t  )

Verifies the correctness of a parameter checksum.

Deprecated type for mcuxClSession protected status codes.

Deprecated type for RSA protected status codes.

Deprecated type for error codes used by code-flow protected PKC component functions.

Deprecated type for error codes used by code-flow protected mcuxClMemory component functions.

Deprecated type for error codes used by code-flow protected Math component functions.

Deprecated type for Key component error codes, returned by functions with code-flow protection.

Deprecated type for ELS driver protected status codes.

Deprecated type for mcuxClEcc component return codes.

Parameters
chkThe parameter checksum.
nargsThe 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.
Returns
A status code encapsulated in a flow-protection type.
Return values
MCUXCSSLPARAMINTEGRITY_CHECK_VALIDThe parameter checksum was correct.
MCUXCSSLPARAMINTEGRITY_CHECK_INVALIDThe parameter checksum was incorrect.