Defines all functions of mcuxClEls_Common. More...
Functions | |
MCUXCLELS_API | MCUX_CSSL_FP_PROTECTED_TYPE (mcuxClEls_Status_t) mcuxClEls_GetHwVersion(mcuxClEls_HwVersion_t *result) |
Determines the version of the underlying ELS hardware IP. More... | |
Variables | |
MCUXCLELS_API mcuxClEls_ErrorHandling_t | errorHandling |
MCUXCLELS_API uint32_t * | errorLevel |
Defines all functions of mcuxClEls_Common.
MCUXCLELS_API MCUX_CSSL_FP_PROTECTED_TYPE | ( | mcuxClEls_Status_t | ) |
Determines the version of the underlying ELS hardware IP.
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.
Get the random start delay for AES based operations.
Set the random start delay for AES based operations.
Get the last ELS error code and level and optionally clear the error status.
Get the last ELS error code and optionally clear the error status.
Resets all error flags that have been set by a previous operation.
Await the completion of an ELS operation for a limited amount of time and optionally clear the error status.
Wait for an ELS operation and optionally clear the error status.
Set the interrupt status register, for debug and testing purposes.
Clear the interrupt status register.
Get interrupt enable flags.
Set interrupt enable flags.
Disable the ELS.
Perform a synchronous reset of the ELS.
Enables the ELS.
Determines the current state of the ELS.
[out] | result | Pointer which will be filled with the ELS hardware version |
[out] | result | Pointer which will be filled with the ELS status information |
Call #mcuxClEls_WaitForOperation to complete the operation.
This means that:
Call #mcuxClEls_WaitForOperation to complete the operation.
[in] | options | A value indicating whether any running ELS operations shall be canceled |
MCUXCLELS_STATUS_SW_CANNOT_INTERRUPT | if a running operation prevented the reset |
MCUXCLELS_STATUS_OK_WAIT | on successful request |
This is useful as a power saving mechanism.
[in] | options | The command options, determining which interrupts should be enabled or disabled. For more information, see mcuxClEls_InterruptOptionEn_t. |
[out] | result | Pointer which is filled with the configuration of the interrupts enable register. |
[in] | options | The command options, determining which interrupt status bits should be cleared. For more information, see mcuxClEls_InterruptOptionRst_t. |
[in] | options | The command options, determining which interrupt status bits should be set. For more information, see mcuxClEls_InterruptOptionSet_t. |
If an ELS operation is active, this function waits for completion of that operation. For this, the busy flag of ELS is polled. Additionally, this function checks and returns any applicable error indication. If no operation is active, the function returns immediately.
[in] | errorHandling | Define if error flags shall be cleared. |
MCUXCLELS_STATUS_OK | if the last operation was successful, or no operation was active |
If an ELS operation is active, this function waits for completion of that operation until a counter expires. For this, the busy flag of ELS is polled. The counting mechanism behaves like a simple for-loop from counterLimit
to one. This counter does not have a well-defined relationship to real-world time. Additionally, this function checks and returns any applicable error indication. If no operation is active, the function returns immediately.
[in] | counterLimit | The limit of the wait counter. |
[in] | errorHandling | Define if error flags shall be cleared. |
MCUXCLELS_STATUS_OK | if the last operation was successful, or no operation was active |
MCUXCLELS_STATUS_SW_COUNTER_EXPIRED | if the counter expired while waiting for the operation to complete |
[in] | errorHandling | Define if error flags shall be cleared. |
MCUXCLELS_STATUS_OK | if the last operation was successful or no operation was active |
[in] | errorHandling | Define if error flags shall be cleared. |
[out] | errorLevel | Pointer to the location that will receive the value of the error level. |
MCUXCLELS_STATUS_OK | if the last operation was successful or no operation was active |
#MCUXCLELS_STATUS_ | if the last operation resulted in an error |
This impacts mcuxClEls_Aead_*, mcuxClEls_Cipher_*, mcuxClEls_Cmac_*, ncpClEls_Ckdf_*, mcuxClEls_KeyImport_Async, mcuxClEls_KeyExport_Async
[in] | delay | Define the max random start delay. Acceptable values are a power of 2 minus one, starting from 0 to 1023 (0, 1, 3, 7, ..., 1023). |
MCUXCLELS_STATUS_OK | if the operation was successful |
[out] | delay | Pointer to store random start delay configuration. |
MCUXCLELS_STATUS_OK | if the operation was successful |