Botan
1.10.9
|
#include <prf_tls.h>
Public Member Functions | |
void | clear () |
KDF * | clone () const |
SecureVector< byte > | derive (size_t key_len, const byte secret[], size_t secret_len, const byte seed[], size_t seed_len) const |
SecureVector< byte > | derive_key (size_t key_len, const MemoryRegion< byte > &secret, const std::string &salt="") const |
SecureVector< byte > | derive_key (size_t key_len, const MemoryRegion< byte > &secret, const MemoryRegion< byte > &salt) const |
SecureVector< byte > | derive_key (size_t key_len, const MemoryRegion< byte > &secret, const byte salt[], size_t salt_len) const |
SecureVector< byte > | derive_key (size_t key_len, const byte secret[], size_t secret_len, const std::string &salt="") const |
SecureVector< byte > | derive_key (size_t key_len, const byte secret[], size_t secret_len, const byte salt[], size_t salt_len) const |
std::string | name () const |
TLS_12_PRF (MessageAuthenticationCode *hmac) | |
~TLS_12_PRF () | |
Botan::TLS_12_PRF::TLS_12_PRF | ( | MessageAuthenticationCode * | hmac | ) |
Definition at line 88 of file prf_tls.cpp.
Botan::TLS_12_PRF::~TLS_12_PRF | ( | ) |
Definition at line 92 of file prf_tls.cpp.
|
inlinevirtualinherited |
|
inlinevirtual |
Implements Botan::KDF.
Definition at line 48 of file prf_tls.h.
|
virtual |
Implements Botan::KDF.
Definition at line 97 of file prf_tls.cpp.
|
inherited |
Derive a key
key_len | the desired output length in bytes |
secret | the secret input |
salt | a diversifier |
Definition at line 15 of file kdf.cpp.
References Botan::MemoryRegion< T >::size().
Referenced by Botan::KDF::derive_key(), and Botan::PK_Key_Agreement::derive_key().
|
inherited |
Derive a key
key_len | the desired output length in bytes |
secret | the secret input |
salt | a diversifier |
Definition at line 38 of file kdf.cpp.
References Botan::KDF::derive_key(), and Botan::MemoryRegion< T >::size().
|
inherited |
Derive a key
key_len | the desired output length in bytes |
secret | the secret input |
salt | a diversifier |
salt_len | size of salt in bytes |
Definition at line 27 of file kdf.cpp.
References Botan::KDF::derive_key(), and Botan::MemoryRegion< T >::size().
|
inherited |
Derive a key
key_len | the desired output length in bytes |
secret | the secret input |
secret_len | size of secret in bytes |
salt | a diversifier |
Definition at line 49 of file kdf.cpp.
References Botan::KDF::derive_key().
|
inherited |
|
inlinevirtual |
Implements Botan::Algorithm.
Definition at line 47 of file prf_tls.h.