aes.h File Reference

API published in:
API deprecated in:


#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 aes_key_st  AES_KEY

Functions

IMPORT_C const char *  AES_options (void)
IMPORT_C int  AES_set_encrypt_key (const unsigned char *userKey, const int bits, AES_KEY *key)
IMPORT_C int  AES_set_decrypt_key (const unsigned char *userKey, const int bits, AES_KEY *key)
IMPORT_C void  AES_encrypt (const unsigned char *in, unsigned char *out, const AES_KEY *key)
IMPORT_C void  AES_decrypt (const unsigned char *in, unsigned char *out, const AES_KEY *key)
IMPORT_C void  AES_ecb_encrypt (const unsigned char *in, unsigned char *out, const AES_KEY *key, const int enc)
IMPORT_C 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)
IMPORT_C 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)
IMPORT_C 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)
IMPORT_C 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)
IMPORT_C 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)
IMPORT_C void  AES_ofb128_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, int *num)
IMPORT_C void  AES_ctr128_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char ivec[16], unsigned char ecount_buf[16], unsigned int *num)

Define Documentation

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

Typedef Documentation

typedef struct aes_key_st AES_KEY
 

Function Documentation

IMPORT_C 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
 
IMPORT_C 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
 
IMPORT_C 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
 
IMPORT_C 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
 
IMPORT_C 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
 
IMPORT_C void AES_ctr128_encrypt const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const AES_KEY key,
unsigned char  ivec[16],
unsigned char  ecount_buf[16],
unsigned int *  num
 
IMPORT_C void AES_decrypt const unsigned char *  in,
unsigned char *  out,
const AES_KEY key
 
IMPORT_C void AES_ecb_encrypt const unsigned char *  in,
unsigned char *  out,
const AES_KEY key,
const int  enc
 
IMPORT_C void AES_encrypt const unsigned char *  in,
unsigned char *  out,
const AES_KEY key
 
IMPORT_C void AES_ofb128_encrypt const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const AES_KEY key,
unsigned char *  ivec,
int *  num
 
IMPORT_C const char* AES_options void   ) 
 
IMPORT_C int AES_set_decrypt_key const unsigned char *  userKey,
const int  bits,
AES_KEY key
 
IMPORT_C int AES_set_encrypt_key const unsigned char *  userKey,
const int  bits,
AES_KEY key
 

Copyright © Nokia Corporation 2001-2008
Back to top