#include <keyDerivation.h>
Public Member Functions | |
KeyDerivation () | |
virtual | ~KeyDerivation () |
void | init (Buffer key, Buffer salt) |
void | setLogKDRate (const u_int8_t ld_rate) |
void | generate (satp_prf_label label, seq_nr_t seq_nr, Buffer &key, u_int32_t length) |
void | clear () |
Protected Attributes | |
int8_t | ld_kdr_ |
Buffer | salt_ |
gcry_cipher_hd_t | cipher_ |
Static Protected Attributes | |
static const char * | MIN_GCRYPT_VERSION |
KeyDerivation::KeyDerivation | ( | ) | [inline] |
virtual KeyDerivation::~KeyDerivation | ( | ) | [inline, virtual] |
void KeyDerivation::setLogKDRate | ( | const u_int8_t | ld_rate | ) |
void KeyDerivation::generate | ( | satp_prf_label | label, | |
seq_nr_t | seq_nr, | |||
Buffer & | key, | |||
u_int32_t | length | |||
) |
void KeyDerivation::clear | ( | ) |
int8_t KeyDerivation::ld_kdr_ [protected] |
Buffer KeyDerivation::salt_ [protected] |
const char * KeyDerivation::MIN_GCRYPT_VERSION [static, protected] |
gcry_cipher_hd_t KeyDerivation::cipher_ [protected] |