Example AES-128 CBC encryption using the CSSv2 (CLNS component mcuxClCss. More...
Functions | |
bool | cipher_aes128_cbc_encrypt (void) |
Performs AES-128 CBC encryption using mcuxClCss functions. More... | |
Variables | |
static uint8_t const | aes128_input [MCUXCLCSS_CIPHER_BLOCK_SIZE_AES] |
Plaintext input for the AES encryption. More... | |
static uint8_t | aes128_iv [MCUXCLCSS_CIPHER_BLOCK_SIZE_AES] |
IV of the AES encryption. More... | |
static uint8_t const | aes128_expected_output [MCUXCLCSS_CIPHER_BLOCK_SIZE_AES] |
Expected ciphertext output of the AES encryption. More... | |
static uint8_t const | aes128_key [MCUXCLCSS_CIPHER_KEY_SIZE_AES_128] |
Key for the AES encryption. More... | |
static uint8_t | aes128_output [MCUXCLCSS_CIPHER_BLOCK_SIZE_AES] |
Destination buffer to receive the ciphertext output of the AES encryption. More... | |
Example AES-128 CBC encryption using the CSSv2 (CLNS component mcuxClCss.
bool cipher_aes128_cbc_encrypt | ( | void | ) |
Performs AES-128 CBC encryption using mcuxClCss functions.
true | The example code completed successfully |
false | The example code failed |
|
static |
Plaintext input for the AES encryption.
|
static |
IV of the AES encryption.
|
static |
Expected ciphertext output of the AES encryption.
|
static |
Key for the AES encryption.
|
static |
Destination buffer to receive the ciphertext output of the AES encryption.