Wirepas SDK
|
Go to the source code of this file.
Functions | |
void | AES_init_ctx (struct AES_ctx *ctx, const uint8_t *key) |
void | AES_init_ctx_iv (struct AES_ctx *ctx, const uint8_t *key, const uint8_t *iv) |
void | AES_ctx_set_iv (struct AES_ctx *ctx, const uint8_t *iv) |
void | AES_ECB_encrypt (struct AES_ctx *ctx, uint8_t *buf) |
void | AES_ECB_decrypt (struct AES_ctx *ctx, uint8_t *buf) |
void | AES_CBC_encrypt_buffer (struct AES_ctx *ctx, uint8_t *buf, uint32_t length) |
void | AES_CBC_decrypt_buffer (struct AES_ctx *ctx, uint8_t *buf, uint32_t length) |
void | AES_CTR_xcrypt_buffer (struct AES_ctx *ctx, uint8_t *buf, uint32_t length) |
Data Structures | |
struct | AES_ctx |
Macros | |
#define | CBC 1 |
#define | ECB 1 |
#define | CTR 1 |
#define | AES128 1 |
#define | AES_BLOCKLEN 16 |
#define | AES_KEYLEN 16 |
#define | AES_keyExpSize 176 |
void AES_CBC_decrypt_buffer | ( | struct AES_ctx * | ctx, |
uint8_t * | buf, | ||
uint32_t | length | ||
) |
void AES_CBC_encrypt_buffer | ( | struct AES_ctx * | ctx, |
uint8_t * | buf, | ||
uint32_t | length | ||
) |
void AES_CTR_xcrypt_buffer | ( | struct AES_ctx * | ctx, |
uint8_t * | buf, | ||
uint32_t | length | ||
) |
void AES_ctx_set_iv | ( | struct AES_ctx * | ctx, |
const uint8_t * | iv | ||
) |
void AES_ECB_decrypt | ( | struct AES_ctx * | ctx, |
uint8_t * | buf | ||
) |
void AES_ECB_encrypt | ( | struct AES_ctx * | ctx, |
uint8_t * | buf | ||
) |
void AES_init_ctx | ( | struct AES_ctx * | ctx, |
const uint8_t * | key | ||
) |
void AES_init_ctx_iv | ( | struct AES_ctx * | ctx, |
const uint8_t * | key, | ||
const uint8_t * | iv | ||
) |
struct AES_ctx |