2 * a bitsliced implementation of the serpent cipher for avr microcontrollers
12 typedef uint8_t serpent_subkey_t[16];
14 typedef struct serpent_ctx_st {
15 serpent_subkey_t k[33];
18 /* key must be 256bit (32 byte) large! */
19 void serpent_genctx(void * key, serpent_ctx_t * ctx);
20 void serpent_enc(void * buffer, serpent_ctx_t * ctx);
21 void serpent_dec(void * buffer, serpent_ctx_t * ctx);