Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...
Fork of nRF51822 by
Implementation of AES ECB driver. More...
Go to the source code of this file.
Functions | |
bool | nrf_ecb_init (void) |
Initialize and power on the ECB peripheral. | |
bool | nrf_ecb_crypt (uint8_t *dest_buf, const uint8_t *src_buf) |
Encrypt/decrypt 16-byte data using current key. | |
void | nrf_ecb_set_key (const uint8_t *key) |
Set the key to be used for encryption/decryption. | |
Variables | |
static uint8_t | ecb_data [48] |
ECB data structure for RNG peripheral to access. | |
static uint8_t * | ecb_key |
Key: Starts at ecb_data. | |
static uint8_t * | ecb_cleartext |
Cleartext: Starts at ecb_data + 16 bytes. | |
static uint8_t * | ecb_ciphertext |
Ciphertext: Starts at ecb_data + 32 bytes. |
Detailed Description
Implementation of AES ECB driver.
Definition in file nrf_ecb.c.
Variable Documentation
uint8_t* ecb_ciphertext [static] |
uint8_t* ecb_cleartext [static] |
uint8_t ecb_data[48] [static] |
Generated on Mon Dec 17 2018 22:13:52 by
