"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "Serpent.h" see the
Fossies "Dox" file reference documentation.
1 #ifndef HEADER_Crypto_Serpent
2 #define HEADER_Crypto_Serpent
3
4 #include "Common/Tcdefs.h"
5
6 #ifdef __cplusplus
7 extern "C"
8 {
9 #endif
10
11 /* userKey is always 32-bytes long */
12 void serpent_set_key(const unsigned __int8 userKey[], unsigned __int8 *ks);
13 void serpent_encrypt(const unsigned __int8 *inBlock, unsigned __int8 *outBlock, unsigned __int8 *ks);
14 void serpent_decrypt(const unsigned __int8 *inBlock, unsigned __int8 *outBlock, unsigned __int8 *ks);
15
16 #ifdef __cplusplus
17 }
18 #endif
19
20 #endif // HEADER_Crypto_Serpent