SHA2 driver implementation for the CC26X2 family.
============================================================================
This file should only be included in the board file to fill the SHA2_config struct.
The CC26X2 family has a dedicated hardware crypto accelerator. It is capable of multiple AES block cipher modes of operation as well as SHA2 operations. Only one operation can be carried out on the accelerator at a time. Mutual exclusion is implemented at the driver level and coordinated between all drivers relying on the accelerator. It is transparent to the application and only noted ensure sensible access timeouts are set.
The driver implementation does not perform runtime checks for most input parameters. Only values that are likely to have a stochastic element to them are checked (such as whether a driver is already open). Higher input parameter validation coverage is achieved by turning on assertions when compiling the driver.
Go to the source code of this file.
Data Structures | |
struct | SHA2CC26X2_HWAttrs |
Hardware-specific configuration attributes. More... | |