53 #define CRYPTO_PENDING (-1) 54 #define CRYPTO_SUCCESS 0 55 #define CRYPTO_INVALID_PARAM 1 56 #define CRYPTO_NULL_ERROR 2 57 #define CRYPTO_RESOURCE_IN_USE 3 58 #define CRYPTO_DMA_BUS_ERROR 4 69 #define CRYPTO_IS_ENABLED() (!!(REG(SYS_CTRL_RCGCSEC) & SYS_CTRL_RCGCSEC_AES)) Header file for the cc2538 System Control driver.
Header file with register manipulation macro definitions.
void crypto_enable(void)
Enables the AES/SHA cryptoprocessor.
void crypto_disable(void)
Disables the AES/SHA cryptoprocessor.
void crypto_register_process_notification(struct process *p)
Registers a process to be notified of the completion of a crypto operation.
void crypto_init(void)
Enables and resets the AES/SHA cryptoprocessor.