OpenZWave Library  1.4.5216
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
AESencrypt Class Reference

#include <aescpp.h>

+ Collaboration diagram for AESencrypt:

Public Types

typedef void ctr_fn (unsigned char ctr[])
 

Public Member Functions

 AESencrypt (void)
 
 AESencrypt (const unsigned char key[])
 
AES_RETURN key128 (const unsigned char key[])
 
AES_RETURN key192 (const unsigned char key[])
 
AES_RETURN key256 (const unsigned char key[])
 
AES_RETURN key (const unsigned char key[], int key_len)
 
AES_RETURN encrypt (const unsigned char in[], unsigned char out[]) const
 
AES_RETURN mode_reset (void)
 
AES_RETURN ecb_encrypt (const unsigned char in[], unsigned char out[], int nb) const
 
AES_RETURN cbc_encrypt (const unsigned char in[], unsigned char out[], int nb, unsigned char iv[]) const
 
AES_RETURN cfb_encrypt (const unsigned char in[], unsigned char out[], int nb, unsigned char iv[])
 
AES_RETURN cfb_decrypt (const unsigned char in[], unsigned char out[], int nb, unsigned char iv[])
 
AES_RETURN ofb_crypt (const unsigned char in[], unsigned char out[], int nb, unsigned char iv[])
 
AES_RETURN ctr_crypt (const unsigned char in[], unsigned char out[], int nb, unsigned char iv[], ctr_fn cf)
 

Public Attributes

aes_encrypt_ctx cx [1]
 

Member Typedef Documentation

typedef void AESencrypt::ctr_fn(unsigned char ctr[])

Constructor & Destructor Documentation

AESencrypt::AESencrypt ( void  )
inline
AESencrypt::AESencrypt ( const unsigned char  key[])
inline

Member Function Documentation

AES_RETURN AESencrypt::cbc_encrypt ( const unsigned char  in[],
unsigned char  out[],
int  nb,
unsigned char  iv[] 
) const
inline
AES_RETURN AESencrypt::cfb_decrypt ( const unsigned char  in[],
unsigned char  out[],
int  nb,
unsigned char  iv[] 
)
inline
AES_RETURN AESencrypt::cfb_encrypt ( const unsigned char  in[],
unsigned char  out[],
int  nb,
unsigned char  iv[] 
)
inline
AES_RETURN AESencrypt::ctr_crypt ( const unsigned char  in[],
unsigned char  out[],
int  nb,
unsigned char  iv[],
ctr_fn  cf 
)
inline
AES_RETURN AESencrypt::ecb_encrypt ( const unsigned char  in[],
unsigned char  out[],
int  nb 
) const
inline
AES_RETURN AESencrypt::encrypt ( const unsigned char  in[],
unsigned char  out[] 
) const
inline
AES_RETURN AESencrypt::key ( const unsigned char  key[],
int  key_len 
)
inline
AES_RETURN AESencrypt::key128 ( const unsigned char  key[])
inline
AES_RETURN AESencrypt::key192 ( const unsigned char  key[])
inline
AES_RETURN AESencrypt::key256 ( const unsigned char  key[])
inline
AES_RETURN AESencrypt::mode_reset ( void  )
inline
AES_RETURN AESencrypt::ofb_crypt ( const unsigned char  in[],
unsigned char  out[],
int  nb,
unsigned char  iv[] 
)
inline

Member Data Documentation

aes_encrypt_ctx AESencrypt::cx[1]

The documentation for this class was generated from the following file: