Contiki-NG
Loading...
Searching...
No Matches

Header file for the cc2538 AES/SHA cryptoprocessor driver. More...

#include "contiki.h"
#include "dev/sys-ctrl.h"
#include "reg.h"

Go to the source code of this file.

Macros

Crypto drivers return codes
Crypto macros
#define CRYPTO_IS_ENABLED()   (!!(REG(SYS_CTRL_RCGCSEC) & SYS_CTRL_RCGCSEC_AES))
 Indicates whether the AES/SHA cryptoprocessor is enabled.
 

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.
 
void crypto_register_process_notification (struct process *p)
 Registers a process to be notified of the completion of a crypto operation.
 

Detailed Description

Header file for the cc2538 AES/SHA cryptoprocessor driver.

Definition in file crypto.h.