#include <prf_ssl3.h>
|
void | clear () |
|
KDF * | clone () const |
|
SecureVector< byte > | derive (size_t, const byte[], size_t, const byte[], size_t) 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 |
|
PRF used in SSLv3
Definition at line 18 of file prf_ssl3.h.
void Botan::KDF::clear |
( |
| ) |
|
|
inlinevirtualinherited |
KDF* Botan::SSL3_PRF::clone |
( |
| ) |
const |
|
inlinevirtual |
SecureVector< byte > Botan::SSL3_PRF::derive |
( |
size_t |
key_len, |
|
|
const byte |
secret[], |
|
|
size_t |
secret_len, |
|
|
const byte |
seed[], |
|
|
size_t |
seed_len |
|
) |
| const |
|
virtual |
Derive a key
- Parameters
-
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().
43 &salt[0], salt.
size());
SecureVector< byte > derive_key(size_t key_len, const MemoryRegion< byte > &secret, const std::string &salt="") const
Derive a key
- Parameters
-
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().
SecureVector< byte > derive_key(size_t key_len, const MemoryRegion< byte > &secret, const std::string &salt="") const
SecureVector< byte > Botan::KDF::derive_key |
( |
size_t |
key_len, |
|
|
const byte |
secret[], |
|
|
size_t |
secret_len, |
|
|
const std::string & |
salt = "" |
|
) |
| const |
|
inherited |
Derive a key
- Parameters
-
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().
54 reinterpret_cast<const byte*>(salt.data()),
SecureVector< byte > derive_key(size_t key_len, const MemoryRegion< byte > &secret, const std::string &salt="") const
SecureVector< byte > Botan::KDF::derive_key |
( |
size_t |
key_len, |
|
|
const byte |
secret[], |
|
|
size_t |
secret_len, |
|
|
const byte |
salt[], |
|
|
size_t |
salt_len |
|
) |
| const |
|
inherited |
Derive a key
- Parameters
-
key_len | the desired output length in bytes |
secret | the secret input |
secret_len | size of secret in bytes |
salt | a diversifier |
salt_len | size of salt in bytes |
Definition at line 61 of file kdf.cpp.
65 return derive(key_len, secret, secret_len, salt, salt_len);
std::string Botan::SSL3_PRF::name |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following files: