📄 serpent.h
字号:
// Copyright in this code is held by Dr B. R. Gladman but free direct or
// derivative use is permitted subject to acknowledgement of its origin.
// Dr B. R. Gladman . 25th January 2000.
#ifdef __cplusplus
# define SERPENT(x) serpent::##x
class serpent : public AES
{
private:
u4byte l_key[140];
public:
#else
# define SERPENT(x) serpent_##x
STATIC u4byte SERPENT(l_key[140]);
#endif
char* SERPENT(name(void));
void SERPENT(set_key(const u1byte key[], const u4byte key_len, const enum dir_flag f));
void SERPENT(encrypt(const u1byte in_blk[], u1byte out_blk[]));
void SERPENT(decrypt(const u1byte in_blk[], u1byte out_blk[]));
#ifdef __cplusplus
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -