Go to the documentation of this file.
8 #ifndef BOTAN_KDF_BASE_H__
9 #define BOTAN_KDF_BASE_H__
11 #include <botan/algo_base.h>
12 #include <botan/secmem.h>
13 #include <botan/types.h>
31 const std::string& salt =
"")
const;
53 size_t salt_len)
const;
65 const std::string& salt =
"")
const;
79 size_t salt_len)
const;
83 virtual KDF* clone()
const = 0;
86 derive(
size_t key_len,
87 const byte secret[],
size_t secret_len,
88 const byte salt[],
size_t salt_len)
const = 0;
97 virtual void mask(
const byte in[],
size_t in_len,
98 byte out[],
size_t out_len)
const = 0;