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

MacOSX: fix compiler warning about ALIGN macro being already defined

This commit is contained in:
Mounir IDRASSI
2016-08-17 19:23:04 +02:00
parent 0dc3cb7cd1
commit c6d5b30704
2 changed files with 16 additions and 16 deletions

View File

@@ -16,15 +16,15 @@
extern "C" {
#endif
#define ALIGN(a) CRYPTOPP_ALIGN_DATA(a)
#define STREEBOG_ALIGN(a) CRYPTOPP_ALIGN_DATA(a)
typedef ALIGN(16) struct _STREEBOG_CTX
typedef STREEBOG_ALIGN(16) struct _STREEBOG_CTX
{
ALIGN(16) unsigned char buffer[64];
ALIGN(16) unsigned long long hash[8];
ALIGN(16) unsigned long long h[8];
ALIGN(16) unsigned long long N[8];
ALIGN(16) unsigned long long Sigma[8];
STREEBOG_ALIGN(16) unsigned char buffer[64];
STREEBOG_ALIGN(16) unsigned long long hash[8];
STREEBOG_ALIGN(16) unsigned long long h[8];
STREEBOG_ALIGN(16) unsigned long long N[8];
STREEBOG_ALIGN(16) unsigned long long Sigma[8];
size_t bufsize;
unsigned int digest_size;
} STREEBOG_CTX;