8 #include <botan/kdf1.h> 13 const uint8_t secret[],
size_t secret_len,
14 const uint8_t salt[],
size_t salt_len,
15 const uint8_t label[],
size_t label_len)
const 17 m_hash->update(secret, secret_len);
18 m_hash->update(label, label_len);
21 if(key_len < m_hash->output_length())
29 return m_hash->output_length();
size_t kdf(uint8_t key[], size_t key_len, const uint8_t secret[], size_t secret_len, const uint8_t salt[], size_t salt_len, const uint8_t label[], size_t label_len) const override
void copy_mem(T *out, const T *in, size_t n)
std::vector< T, secure_allocator< T > > secure_vector