8 #include <botan/serp_x86_32.h>
9 #include <botan/loadstor.h>
49 for(
size_t i = 0; i != blocks; ++i)
62 for(
size_t i = 0; i != blocks; ++i)
73 void Serpent_X86_32::key_schedule(
const byte key[],
size_t length)
76 for(
size_t i = 0; i != length / 4; ++i)
78 W[length / 4] |=
u32bit(1) << ((length%4)*8);
void botan_serpent_x86_32_decrypt(const byte in[16], byte out[16], const u32bit ks[132])
void encrypt_n(const byte in[], byte out[], size_t blocks) const
u32bit load_le< u32bit >(const byte in[], size_t off)
void botan_serpent_x86_32_key_schedule(u32bit ks[140])
void set_round_keys(const u32bit ks[132])
const SecureVector< u32bit > & get_round_keys() const
void decrypt_n(const byte in[], byte out[], size_t blocks) const
void botan_serpent_x86_32_encrypt(const byte in[16], byte out[16], const u32bit ks[132])