8 #ifndef BOTAN_CAST128_H__
9 #define BOTAN_CAST128_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;
25 std::string
name()
const {
return "CAST-128"; }
30 void key_schedule(
const byte[],
size_t);
35 static const u32bit S5[256];
36 static const u32bit S6[256];
37 static const u32bit S7[256];
38 static const u32bit S8[256];
const u32bit CAST_SBOX2[256]
const u32bit CAST_SBOX1[256]
const u32bit CAST_SBOX4[256]
BlockCipher * clone() const
void zeroise(MemoryRegion< T > &vec)
const u32bit CAST_SBOX3[256]