Sat Mar 24 23:51:47 2007

Asterisk developer's documentation


aes.h File Reference

This file contains the definitions required to use AES in C. See aesopt.h for optimisation details. More...

#include "limits.h"

Include dependency graph for aes.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)


Detailed Description

This file contains the definitions required to use AES in C. See aesopt.h for optimisation details.

Definition in file aes.h.


Generated on Sat Mar 24 23:51:47 2007 for Asterisk - the Open Source PBX by  doxygen 1.5.1