Wire Sysio Wire Sysion 1.0.0
|
Go to the source code of this file.
Classes | |
struct | aes_context |
Macros | |
#define | AES_BLOCK_SIZE 16 |
#define | YH_INTERNAL __attribute__((visibility("hidden"))) |
Functions | |
uint8_t YH_INTERNAL | aes_set_encrypt_key (uint8_t *key, uint16_t key_len, aes_context *ctx) |
uint8_t YH_INTERNAL | aes_set_decrypt_key (uint8_t *key, uint16_t key_len, aes_context *ctx) |
uint8_t YH_INTERNAL | aes_encrypt (uint8_t *in, uint8_t *out, const aes_context *ctx) |
uint8_t YH_INTERNAL | aes_decrypt (uint8_t *in, uint8_t *out, const aes_context *ctx) |
uint8_t YH_INTERNAL | aes_cbc_encrypt (uint8_t *in, uint8_t *out, uint16_t len, uint8_t *iv, aes_context *ctx) |
uint8_t YH_INTERNAL | aes_cbc_decrypt (uint8_t *in, uint8_t *out, uint16_t len, uint8_t *iv, aes_context *ctx) |
void YH_INTERNAL | aes_add_padding (uint8_t *in, uint16_t *len) |
void YH_INTERNAL | aes_remove_padding (uint8_t *in, uint16_t *len) |
void YH_INTERNAL | aes_destroy (aes_context *ctx) |
FILE *_yh_output YH_INTERNAL __attribute__((visibility("hidden"))) |
void YH_INTERNAL aes_add_padding | ( | uint8_t * | in, |
uint16_t * | len ) |
uint8_t YH_INTERNAL aes_cbc_decrypt | ( | uint8_t * | in, |
uint8_t * | out, | ||
uint16_t | len, | ||
uint8_t * | iv, | ||
aes_context * | ctx ) |
uint8_t YH_INTERNAL aes_cbc_encrypt | ( | uint8_t * | in, |
uint8_t * | out, | ||
uint16_t | len, | ||
uint8_t * | iv, | ||
aes_context * | ctx ) |
uint8_t YH_INTERNAL aes_decrypt | ( | uint8_t * | in, |
uint8_t * | out, | ||
const aes_context * | ctx ) |
Definition at line 249 of file aes.c.
void YH_INTERNAL aes_destroy | ( | aes_context * | ctx | ) |
Definition at line 330 of file aes.c.
uint8_t YH_INTERNAL aes_encrypt | ( | uint8_t * | in, |
uint8_t * | out, | ||
const aes_context * | ctx ) |
Definition at line 229 of file aes.c.
void YH_INTERNAL aes_remove_padding | ( | uint8_t * | in, |
uint16_t * | len ) |
uint8_t YH_INTERNAL aes_set_decrypt_key | ( | uint8_t * | key, |
uint16_t | key_len, | ||
aes_context * | ctx ) |
Definition at line 201 of file aes.c.
uint8_t YH_INTERNAL aes_set_encrypt_key | ( | uint8_t * | key, |
uint16_t | key_len, | ||
aes_context * | ctx ) |
Definition at line 172 of file aes.c.