aes.h File Reference

#include "limits.h"

Include dependency graph for aes.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  aes_encrypt_ctx
struct  aes_decrypt_ctx

Defines

#define AES_128
#define AES_ENCRYPT
#define AES_DECRYPT
#define AES_ERR_CHK
#define AES_BLOCK_SIZE   16
#define N_COLS   4
#define KS_LENGTH   64
#define aes_ret   int
#define aes_good   0
#define aes_error   -1
#define aes_rval   aes_ret

Functions

void gen_tabs (void)
aes_rval aes_encrypt_key128 (const void *in_key, aes_encrypt_ctx cx[1])
aes_rval aes_encrypt (const void *in_blk, void *out_blk, const aes_encrypt_ctx cx[1])
aes_rval aes_decrypt_key128 (const void *in_key, aes_decrypt_ctx cx[1])
aes_rval aes_decrypt (const void *in_blk, void *out_blk, const aes_decrypt_ctx cx[1])


Define Documentation

#define AES_128

Definition at line 48 of file aes.h.

#define AES_BLOCK_SIZE   16

Definition at line 73 of file aes.h.

#define AES_DECRYPT

Definition at line 56 of file aes.h.

#define AES_ENCRYPT

Definition at line 55 of file aes.h.

#define AES_ERR_CHK

Definition at line 57 of file aes.h.

#define aes_error   -1

Definition at line 85 of file aes.h.

#define aes_good   0

Definition at line 84 of file aes.h.

#define aes_ret   int

Definition at line 83 of file aes.h.

#define aes_rval   aes_ret

Definition at line 91 of file aes.h.

#define KS_LENGTH   64

Definition at line 80 of file aes.h.

#define N_COLS   4

Definition at line 74 of file aes.h.


Function Documentation

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   ) 

Definition at line 48 of file aestab.c.

00049 {
00050 }


Generated on Wed Oct 28 17:00:48 2009 for Asterisk by  doxygen 1.5.6