2019-03-22 22:00:07 +01:00
|
|
|
/**
|
|
|
|
* Author......: See docs/credits.txt
|
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
2023-01-17 20:25:40 +01:00
|
|
|
#ifndef INC_CIPHER_SERPENT_H
|
|
|
|
#define INC_CIPHER_SERPENT_H
|
2019-03-23 22:15:38 +01:00
|
|
|
|
2022-02-04 19:54:00 +01:00
|
|
|
DECLSPEC void serpent128_set_key (PRIVATE_AS u32 *ks, PRIVATE_AS const u32 *ukey);
|
|
|
|
DECLSPEC void serpent128_encrypt (PRIVATE_AS const u32 *ks, PRIVATE_AS const u32 *in, PRIVATE_AS u32 *out);
|
|
|
|
DECLSPEC void serpent128_decrypt (PRIVATE_AS const u32 *ks, PRIVATE_AS const u32 *in, PRIVATE_AS u32 *out);
|
|
|
|
DECLSPEC void serpent192_set_key (PRIVATE_AS u32 *ks, PRIVATE_AS const u32 *ukey);
|
|
|
|
DECLSPEC void serpent192_encrypt (PRIVATE_AS const u32 *ks, PRIVATE_AS const u32 *in, PRIVATE_AS u32 *out);
|
|
|
|
DECLSPEC void serpent192_decrypt (PRIVATE_AS const u32 *ks, PRIVATE_AS const u32 *in, PRIVATE_AS u32 *out);
|
|
|
|
DECLSPEC void serpent256_set_key (PRIVATE_AS u32 *ks, PRIVATE_AS const u32 *ukey);
|
|
|
|
DECLSPEC void serpent256_encrypt (PRIVATE_AS const u32 *ks, PRIVATE_AS const u32 *in, PRIVATE_AS u32 *out);
|
|
|
|
DECLSPEC void serpent256_decrypt (PRIVATE_AS const u32 *ks, PRIVATE_AS const u32 *in, PRIVATE_AS u32 *out);
|
2019-03-23 22:15:38 +01:00
|
|
|
|
2023-01-17 20:25:40 +01:00
|
|
|
#endif // INC_CIPHER_SERPENT_H
|