#include <stdint.h>

Macros | |
| #define | CBC 1 |
| #define | ECB 1 |
| #define | CTR 1 |
| #define | AES256 1 |
Functions | |
| void | AES_ECB_encrypt (const uint8_t *input, const uint8_t *key, uint8_t *output, const uint32_t length) |
| void | AES_ECB_decrypt (const uint8_t *input, const uint8_t *key, uint8_t *output, const uint32_t length) |
| void | AES_CBC_encrypt_buffer (uint8_t *output, uint8_t *input, uint32_t length, const uint8_t *key, const uint8_t *iv) |
| void | AES_CBC_decrypt_buffer (uint8_t *output, uint8_t *input, uint32_t length, const uint8_t *key, const uint8_t *iv) |
| void | AES_CTR_xcrypt_buffer (uint8_t *output, uint8_t *input, uint32_t length, const uint8_t *key, const uint8_t *nonce) |
| #define CBC 1 |
| #define ECB 1 |
| #define CTR 1 |
| #define AES256 1 |
| void AES_ECB_encrypt | ( | const uint8_t * | input, |
| const uint8_t * | key, | ||
| uint8_t * | output, | ||
| const uint32_t | length | ||
| ) |
| void AES_ECB_decrypt | ( | const uint8_t * | input, |
| const uint8_t * | key, | ||
| uint8_t * | output, | ||
| const uint32_t | length | ||
| ) |
| void AES_CBC_encrypt_buffer | ( | uint8_t * | output, |
| uint8_t * | input, | ||
| uint32_t | length, | ||
| const uint8_t * | key, | ||
| const uint8_t * | iv | ||
| ) |
References BLOCKLEN, Cipher(), Iv, Key, KeyExpansion(), state, and XorWithIv().
Referenced by TinyAES::cbc_encrypt().


| void AES_CBC_decrypt_buffer | ( | uint8_t * | output, |
| uint8_t * | input, | ||
| uint32_t | length, | ||
| const uint8_t * | key, | ||
| const uint8_t * | iv | ||
| ) |
References BLOCKLEN, InvCipher(), Iv, Key, KeyExpansion(), state, and XorWithIv().
Referenced by TinyAES::cbc_decrypt().


| void AES_CTR_xcrypt_buffer | ( | uint8_t * | output, |
| uint8_t * | input, | ||
| uint32_t | length, | ||
| const uint8_t * | key, | ||
| const uint8_t * | nonce | ||
| ) |
References BLOCKLEN, Cipher(), Key, KeyExpansion(), and state.
