aes.h File Reference

#include <openssl/opensslconf.h>

Go to the source code of this file.

Data Structures

struct  aes_key_st

Defines

#define AES_ENCRYPT   1
#define AES_DECRYPT   0
#define AES_MAXNR   14
#define AES_BLOCK_SIZE   16

Typedefs

typedef struct aes_key_st AES_KEY

Functions

const char * AES_options (void)
int AES_set_encrypt_key (const unsigned char *userKey, const int bits, AES_KEY *key)
int AES_set_decrypt_key (const unsigned char *userKey, const int bits, AES_KEY *key)
void AES_encrypt (const unsigned char *in, unsigned char *out, const AES_KEY *key)
void AES_decrypt (const unsigned char *in, unsigned char *out, const AES_KEY *key)
void AES_ecb_encrypt (const unsigned char *in, unsigned char *out, const AES_KEY *key, const int enc)
void AES_cbc_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, const int enc)
void AES_cfb128_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc)
void AES_cfb1_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc)
void AES_cfb8_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc)
void AES_cfbr_encrypt_block (const unsigned char *in, unsigned char *out, const int nbits, const AES_KEY *key, unsigned char *ivec, const int enc)
void AES_ofb128_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, int *num)
void AES_ctr128_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char ivec[AES_BLOCK_SIZE], unsigned char ecount_buf[AES_BLOCK_SIZE], unsigned int *num)
void AES_ige_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, const int enc)
void AES_bi_ige_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, const AES_KEY *key2, const unsigned char *ivec, const int enc)


Define Documentation

#define AES_BLOCK_SIZE   16

Definition at line 67 of file aes.h.

#define AES_DECRYPT   0

Definition at line 62 of file aes.h.

#define AES_ENCRYPT   1

Definition at line 61 of file aes.h.

#define AES_MAXNR   14

Definition at line 66 of file aes.h.


Typedef Documentation

typedef struct aes_key_st AES_KEY

Definition at line 82 of file aes.h.


Function Documentation

void AES_bi_ige_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const AES_KEY key,
const AES_KEY key2,
const unsigned char *  ivec,
const int  enc 
)

void AES_cbc_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const AES_KEY key,
unsigned char *  ivec,
const int  enc 
)

void AES_cfb128_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const AES_KEY key,
unsigned char *  ivec,
int *  num,
const int  enc 
)

void AES_cfb1_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const AES_KEY key,
unsigned char *  ivec,
int *  num,
const int  enc 
)

void AES_cfb8_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const AES_KEY key,
unsigned char *  ivec,
int *  num,
const int  enc 
)

void AES_cfbr_encrypt_block ( const unsigned char *  in,
unsigned char *  out,
const int  nbits,
const AES_KEY key,
unsigned char *  ivec,
const int  enc 
)

void AES_ctr128_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const AES_KEY key,
unsigned char  ivec[AES_BLOCK_SIZE],
unsigned char  ecount_buf[AES_BLOCK_SIZE],
unsigned int *  num 
)

void AES_decrypt ( const unsigned char *  in,
unsigned char *  out,
const AES_KEY key 
)

void AES_ecb_encrypt ( const unsigned char *  in,
unsigned char *  out,
const AES_KEY key,
const int  enc 
)

void AES_encrypt ( const unsigned char *  in,
unsigned char *  out,
const AES_KEY key 
)

void AES_ige_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const AES_KEY key,
unsigned char *  ivec,
const int  enc 
)

void AES_ofb128_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const AES_KEY key,
unsigned char *  ivec,
int *  num 
)

const char* AES_options ( void   ) 

int AES_set_decrypt_key ( const unsigned char *  userKey,
const int  bits,
AES_KEY key 
)

int AES_set_encrypt_key ( const unsigned char *  userKey,
const int  bits,
AES_KEY key 
)


Generated on Thu Aug 20 22:33:06 2009 for OpenXDAS by  doxygen 1.5.6