This file contains the definitions required to use AES in C. See aesopt.h for optimisation details. More...
#include "limits.h"
Go to the source code of this file.
Data Structures | |
struct | aes_decrypt_ctx |
struct | aes_encrypt_ctx |
Defines | |
#define | AES_128 |
#define | AES_BLOCK_SIZE 16 |
#define | AES_DECRYPT |
#define | AES_ENCRYPT |
#define | AES_ERR_CHK |
#define | aes_error -1 |
#define | aes_good 0 |
#define | aes_ret int |
#define | aes_rval aes_ret |
#define | KS_LENGTH 64 |
#define | N_COLS 4 |
Functions | |
aes_rval | aes_decrypt (const void *in_blk, void *out_blk, const aes_decrypt_ctx cx[1]) |
aes_rval | aes_decrypt_key128 (const void *in_key, aes_decrypt_ctx cx[1]) |
aes_rval | aes_encrypt (const void *in_blk, void *out_blk, const aes_encrypt_ctx cx[1]) |
aes_rval | aes_encrypt_key128 (const void *in_key, aes_encrypt_ctx cx[1]) |
void | gen_tabs (void) |
This file contains the definitions required to use AES in C. See aesopt.h for optimisation details.
Definition in file aes.h.
aes_rval aes_decrypt | ( | const void * | in_blk, | |
void * | out_blk, | |||
const aes_decrypt_ctx | cx[1] | |||
) |
Referenced by decrypt_memcpy(), and memcpy_decrypt().
aes_rval aes_decrypt_key128 | ( | const void * | in_key, | |
aes_decrypt_ctx | cx[1] | |||
) |
Referenced by build_ecx_key(), build_encryption_keys(), check_key(), and update_key().
aes_rval aes_encrypt | ( | const void * | in_blk, | |
void * | out_blk, | |||
const aes_encrypt_ctx | cx[1] | |||
) |
Referenced by encrypt_memcpy(), and memcpy_encrypt().
aes_rval aes_encrypt_key128 | ( | const void * | in_key, | |
aes_encrypt_ctx | cx[1] | |||
) |
Referenced by build_ecx_key(), check_key(), and update_key().