Utility functions to setup and terminate the CryptoCell 310 driver. More...
Utility functions to setup and terminate the CryptoCell 310 driver.
Definition in file cryptocell_310_util.h.
Go to the source code of this file.
void | cryptocell_310_enable (void) |
Enable CryptoCell module and IRQs. | |
void | cryptocell_310_disable (void) |
Disable CryptoCell module and IRQs. | |
static bool | cryptocell_310_data_within_ram (const uint8_t *data) |
Check whether the given data resides in RAM. | |
void | driver_cryptocell_310_setup (void) |
Enables CryptoCell module, IRQs and crypto libraries on nrf52840. | |
void | driver_cryptocell_310_terminate (void) |
Finishes the use of the CryptoCell library. | |
|
inlinestatic |
Check whether the given data resides in RAM.
Should be called on every const input that will be passed on to the CryptoCell peripheral.
Definition at line 48 of file cryptocell_310_util.h.
void cryptocell_310_disable | ( | void | ) |
Disable CryptoCell module and IRQs.
Should be called after using crypto functions. CryptoCell peripheral will be disabled after this call.
void cryptocell_310_enable | ( | void | ) |
Enable CryptoCell module and IRQs.
Must be called before using crypto functions. CryptoCell peripheral will be enabled after this call.
void driver_cryptocell_310_setup | ( | void | ) |
Enables CryptoCell module, IRQs and crypto libraries on nrf52840.
Must be called once before using the CryptoCell lib.
void driver_cryptocell_310_terminate | ( | void | ) |
Finishes the use of the CryptoCell library.
Should be called after using the CryptoCell lib.