mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-28 05:53:29 +01:00
21 lines
530 B
C
21 lines
530 B
C
#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
|