Initial release
Fork of nrf51-sdk by
Implementation of AES ECB driver. More...
Go to the source code of this file.
Functions | |
bool | nrf_ecb_init (void) |
Function for initializing and powering on the ECB peripheral. | |
bool | nrf_ecb_crypt (uint8_t *dest_buf, const uint8_t *src_buf) |
Function for encrypting and decrypting 16-byte data using current key. | |
void | nrf_ecb_set_key (const uint8_t *key) |
Function for setting the key to be used for encryption and 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 Tue Jul 12 2022 11:17:19 by 1.7.2