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_encrypt (const void *in_blk, void *out_blk, const 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_internal.h.
#define AES_128 |
Definition at line 60 of file aes_internal.h.
#define AES_BLOCK_SIZE 16 |
Definition at line 85 of file aes_internal.h.
#define AES_DECRYPT |
Definition at line 68 of file aes_internal.h.
#define AES_ENCRYPT |
Definition at line 67 of file aes_internal.h.
#define AES_ERR_CHK |
Definition at line 69 of file aes_internal.h.
#define aes_error -1 |
Definition at line 97 of file aes_internal.h.
#define aes_good 0 |
Definition at line 96 of file aes_internal.h.
#define aes_ret int |
Definition at line 95 of file aes_internal.h.
#define aes_rval aes_ret |
Definition at line 103 of file aes_internal.h.
#define KS_LENGTH 64 |
Definition at line 92 of file aes_internal.h.
#define N_COLS 4 |
Definition at line 86 of file aes_internal.h.
aes_rval aes_decrypt | ( | const void * | in_blk, |
void * | out_blk, | ||
const aes_decrypt_ctx | cx[1] | ||
) |
aes_rval aes_encrypt | ( | const void * | in_blk, |
void * | out_blk, | ||
const aes_encrypt_ctx | cx[1] | ||
) |