Cacheline alignment

This commit is contained in:
Frank Denis 2016-03-17 09:27:39 +01:00
parent a4327a90f4
commit 42d906d3e9
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
#include "blake2-impl.h"
#include "../../sodium/common.h"
static const uint64_t blake2b_IV[8] =
CRYPTO_ALIGN(64) static const uint64_t blake2b_IV[8] =
{
0x6a09e667f3bcc908ULL, 0xbb67ae8584caa73bULL,
0x3c6ef372fe94f82bULL, 0xa54ff53a5f1d36f1ULL,

View File

@ -20,7 +20,7 @@
#include "blake2-impl.h"
#include "blake2b-round.h"
static const uint64_t blake2b_IV[8] =
CRYPTO_ALIGN(64) static const uint64_t blake2b_IV[8] =
{
0x6a09e667f3bcc908ULL, 0xbb67ae8584caa73bULL,
0x3c6ef372fe94f82bULL, 0xa54ff53a5f1d36f1ULL,

View File

@ -20,7 +20,7 @@
#include "blake2-impl.h"
#include "blake2b-round.h"
static const uint64_t blake2b_IV[8] =
CRYPTO_ALIGN(64) static const uint64_t blake2b_IV[8] =
{
0x6a09e667f3bcc908ULL, 0xbb67ae8584caa73bULL,
0x3c6ef372fe94f82bULL, 0xa54ff53a5f1d36f1ULL,