You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/**
|
|
|
|
* Author......: See docs/credits.txt
|
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INC_CIPHER_SERPENT_H
|
|
|
|
#define _INC_CIPHER_SERPENT_H
|
|
|
|
|
|
|
|
DECLSPEC void serpent128_set_key (u32 *ks, const u32 *ukey);
|
|
|
|
DECLSPEC void serpent128_encrypt (const u32 *ks, const u32 *in, u32 *out);
|
|
|
|
DECLSPEC void serpent128_decrypt (const u32 *ks, const u32 *in, u32 *out);
|
|
|
|
DECLSPEC void serpent256_set_key (u32 *ks, const u32 *ukey);
|
|
|
|
DECLSPEC void serpent256_encrypt (const u32 *ks, const u32 *in, u32 *out);
|
|
|
|
DECLSPEC void serpent256_decrypt (const u32 *ks, const u32 *in, u32 *out);
|
|
|
|
|
|
|
|
#endif // _INC_CIPHER_SERPENT_H
|