Contiki-NG
|
Header file for the cc2538 AES/SHA cryptoprocessor driver. More...
Go to the source code of this file.
Macros | |
Crypto drivers return codes | |
#define | CRYPTO_PENDING (-1) |
#define | CRYPTO_SUCCESS 0 |
#define | CRYPTO_INVALID_PARAM 1 |
#define | CRYPTO_NULL_ERROR 2 |
#define | CRYPTO_RESOURCE_IN_USE 3 |
#define | CRYPTO_DMA_BUS_ERROR 4 |
Crypto macros | |
#define | CRYPTO_IS_ENABLED() (!!(REG(SYS_CTRL_RCGCSEC) & SYS_CTRL_RCGCSEC_AES)) |
Indicates whether the AES/SHA cryptoprocessor is enabled. More... | |
Functions | |
Crypto functions | |
void | crypto_init (void) |
Enables and resets the AES/SHA cryptoprocessor. | |
void | crypto_enable (void) |
Enables the AES/SHA cryptoprocessor. | |
void | crypto_disable (void) |
Disables the AES/SHA cryptoprocessor. More... | |
void | crypto_register_process_notification (struct process *p) |
Registers a process to be notified of the completion of a crypto operation. More... | |
Header file for the cc2538 AES/SHA cryptoprocessor driver.
Definition in file crypto.h.