8 #ifndef BOTAN_BLOWFISH_H__
9 #define BOTAN_BLOWFISH_H__
11 #include <botan/block_cipher.h>
21 void encrypt_n(
const byte in[],
byte out[],
size_t blocks)
const;
22 void decrypt_n(
const byte in[],
byte out[],
size_t blocks)
const;
27 void eks_key_schedule(
const byte key[],
size_t key_length,
28 const byte salt[16],
size_t workfactor);
31 std::string
name()
const {
return "Blowfish"; }
36 void key_schedule(
const byte key[],
size_t length);
38 void key_expansion(
const byte key[],
45 size_t salt_off)
const;
47 static const u32bit P_INIT[18];
48 static const u32bit S_INIT[1024];
BlockCipher * clone() const