"Fossies" - the Fresh Open Source Software Archive

Member "src/Crypto/Serpent.h" (10 Oct 2018, 510 Bytes) of package /windows/misc/VeraCrypt_1.23-Hotfix-2_Source.zip:

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
    4 #include "Common/Tcdefs.h"
    6 #ifdef __cplusplus
    7 extern "C"
    8 {
    9 #endif
   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);
   16 #ifdef __cplusplus
   17 }
   18 #endif
   20 #endif // HEADER_Crypto_Serpent