8 #ifndef BOTAN_BLOWFISH_H__
9 #define BOTAN_BLOWFISH_H__
11 #include <botan/block_cipher.h>
21 void encrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
22 void decrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
27 void eks_key_schedule(
const uint8_t key[],
size_t key_length,
28 const uint8_t salt[16],
size_t workfactor);
30 void clear()
override;
31 std::string
name()
const override {
return "Blowfish"; }
34 void key_schedule(
const uint8_t key[],
size_t length)
override;
36 void key_expansion(
const uint8_t key[],
38 const uint8_t salt[16]);
41 uint32_t& L, uint32_t& R,
42 const uint8_t salt[16],
43 size_t salt_off)
const;
std::string name() const override
std::vector< T, secure_allocator< T >> secure_vector
BlockCipher * clone() const override