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;
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];
void decrypt_n(const byte in[], byte out[], size_t blocks) const
void encrypt_n(const byte in[], byte out[], size_t blocks) const
BlockCipher * clone() const
void eks_key_schedule(const byte key[], size_t key_length, const byte salt[16], size_t workfactor)