45 #define AES_128_BLOCK_SIZE 16
46 #define AES_128_KEY_LENGTH 16
49 #define AES_128 AES_128_CONF
51 #define AES_128 aes_128_driver
67 void (*
encrypt)(uint8_t *plaintext_and_result);
void(* set_key)(const uint8_t *key)
Sets the current key.
Structure of AES drivers.
void(* encrypt)(uint8_t *plaintext_and_result)
Encrypts.
void aes_128_set_padded_key(uint8_t *key, uint8_t key_len)
Pads the key with zeroes before calling AES_128.set_key.