1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 19:38:26 -06:00

Linux: fix various compilation issues under Linux.

This commit is contained in:
Mounir IDRASSI
2016-08-17 00:06:57 +02:00
parent e47f94cb43
commit 2780ac962e
17 changed files with 2361 additions and 2329 deletions

View File

@@ -12,6 +12,12 @@
#ifndef GOST_CIPHER_H
#define GOST_CIPHER_H
#include "Common/Tcdefs.h"
#ifdef __cplusplus
extern "C" {
#endif
//In unsigned chars
#define GOST_KEYSIZE 32
#define GOST_BLOCKSIZE 8
@@ -27,7 +33,6 @@
#define rotl32(b, shift) ((b << shift) | (b >> (32 - shift)))
#endif
typedef unsigned char byte;
#ifdef GST_WINDOWS_BOOT
typedef int gst_word;
typedef long gst_dword;
@@ -57,5 +62,9 @@ void gost_set_key(const byte *key, gost_kds *ks);
#define GOST_KS (0)
#endif
#ifdef __cplusplus
}
#endif
#endif