AesIcmCypher Class Reference

#include <cypher.h>

Inheritance diagram for AesIcmCypher:

Cypher List of all members.

Public Member Functions

 AesIcmCypher ()
 ~AesIcmCypher ()
void setKey (Buffer key)
void setSalt (Buffer salt)

Static Public Attributes

static const std::string MIN_GCRYPT_VERSION
static const u_int32_t GCRYPT_SEC_MEM

Protected Member Functions

Buffer getBitStream (u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)

Protected Attributes

gcry_cipher_hd_t cipher_
Buffer salt_

Static Private Attributes

static bool gcrypt_initialized_

Constructor & Destructor Documentation

AesIcmCypher::AesIcmCypher (  ) 

AesIcmCypher::~AesIcmCypher (  ) 


Member Function Documentation

void AesIcmCypher::setKey ( Buffer  key  ) 

Reimplemented from Cypher.

void AesIcmCypher::setSalt ( Buffer  salt  ) 

Reimplemented from Cypher.

Buffer AesIcmCypher::getBitStream ( u_int32_t  length,
seq_nr_t  seq_nr,
sender_id_t  sender_id 
) [protected, virtual]

Implements Cypher.


Member Data Documentation

const std::string AesIcmCypher::MIN_GCRYPT_VERSION [static]

const u_int32_t AesIcmCypher::GCRYPT_SEC_MEM [static]

gcry_cipher_hd_t AesIcmCypher::cipher_ [protected]

Buffer AesIcmCypher::salt_ [protected]

bool AesIcmCypher::gcrypt_initialized_ [static, private]


The documentation for this class was generated from the following files:
Generated on Sun Oct 7 23:43:49 2007 for anytun by  doxygen 1.5.1