1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
|
#ifndef HEADER_Crypto_Serpent #define HEADER_Crypto_Serpent #include "Common/Tcdefs.h" #ifdef __cplusplus extern "C" { #endif /* userKey is always 32-bytes long */ void serpent_set_key(const unsigned __int8 userKey[], unsigned __int8 *ks); void serpent_encrypt(const unsigned __int8 *inBlock, unsigned __int8 *outBlock, unsigned __int8 *ks); void serpent_decrypt(const unsigned __int8 *inBlock, unsigned __int8 *outBlock, unsigned __int8 *ks); #ifdef __cplusplus } #endif #endif // HEADER_Crypto_Serpent sparent, needs very little memory, and does not involve temporary unencrypted files."/>