KeyDerivation Class Reference

#include <keyDerivation.h>

List of all members.

Public Member Functions

 KeyDerivation ()
virtual ~KeyDerivation ()
void init (Buffer key, Buffer salt)
err_status_t setLogKDRate (const uint8_t ld_rate)
err_status_t generate (satp_prf_label label, seq_nr_t seq_nr, Buffer &key, uint32_t length)
void clear ()

Static Public Attributes

static const std::string MIN_GCRYPT_VERSION

Protected Attributes

int8_t ld_kdr_
Buffer salt_
gcry_cipher_hd_t cipher_


Constructor & Destructor Documentation

KeyDerivation::KeyDerivation (  )  [inline]

virtual KeyDerivation::~KeyDerivation (  )  [inline, virtual]


Member Function Documentation

void KeyDerivation::init ( Buffer  key,
Buffer  salt 
)

err_status_t KeyDerivation::setLogKDRate ( const uint8_t  ld_rate  ) 

err_status_t KeyDerivation::generate ( satp_prf_label  label,
seq_nr_t  seq_nr,
Buffer key,
uint32_t  length 
)

void KeyDerivation::clear (  ) 


Member Data Documentation

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

int8_t KeyDerivation::ld_kdr_ [protected]

Buffer KeyDerivation::salt_ [protected]

gcry_cipher_hd_t KeyDerivation::cipher_ [protected]


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