2019-03-22 21:00:07 +00:00
|
|
|
/**
|
|
|
|
* Author......: See docs/credits.txt
|
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
2019-03-23 21:15:38 +00:00
|
|
|
#ifndef _INC_CIPHER_SERPENT_H
|
|
|
|
#define _INC_CIPHER_SERPENT_H
|
|
|
|
|
2019-03-22 21:27:58 +00:00
|
|
|
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);
|
2021-05-06 21:24:46 +00:00
|
|
|
DECLSPEC void serpent192_set_key (u32 *ks, const u32 *ukey);
|
|
|
|
DECLSPEC void serpent192_encrypt (const u32 *ks, const u32 *in, u32 *out);
|
|
|
|
DECLSPEC void serpent192_decrypt (const u32 *ks, const u32 *in, u32 *out);
|
2019-03-22 21:27:58 +00:00
|
|
|
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);
|
2019-03-23 21:15:38 +00:00
|
|
|
|
|
|
|
#endif // _INC_CIPHER_SERPENT_H
|