mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 02:25:14 -07:00
Cacheline alignment
This commit is contained in:
parent
a4327a90f4
commit
42d906d3e9
@ -6,7 +6,7 @@
|
|||||||
#include "blake2-impl.h"
|
#include "blake2-impl.h"
|
||||||
#include "../../sodium/common.h"
|
#include "../../sodium/common.h"
|
||||||
|
|
||||||
static const uint64_t blake2b_IV[8] =
|
CRYPTO_ALIGN(64) static const uint64_t blake2b_IV[8] =
|
||||||
{
|
{
|
||||||
0x6a09e667f3bcc908ULL, 0xbb67ae8584caa73bULL,
|
0x6a09e667f3bcc908ULL, 0xbb67ae8584caa73bULL,
|
||||||
0x3c6ef372fe94f82bULL, 0xa54ff53a5f1d36f1ULL,
|
0x3c6ef372fe94f82bULL, 0xa54ff53a5f1d36f1ULL,
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include "blake2-impl.h"
|
#include "blake2-impl.h"
|
||||||
#include "blake2b-round.h"
|
#include "blake2b-round.h"
|
||||||
|
|
||||||
static const uint64_t blake2b_IV[8] =
|
CRYPTO_ALIGN(64) static const uint64_t blake2b_IV[8] =
|
||||||
{
|
{
|
||||||
0x6a09e667f3bcc908ULL, 0xbb67ae8584caa73bULL,
|
0x6a09e667f3bcc908ULL, 0xbb67ae8584caa73bULL,
|
||||||
0x3c6ef372fe94f82bULL, 0xa54ff53a5f1d36f1ULL,
|
0x3c6ef372fe94f82bULL, 0xa54ff53a5f1d36f1ULL,
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include "blake2-impl.h"
|
#include "blake2-impl.h"
|
||||||
#include "blake2b-round.h"
|
#include "blake2b-round.h"
|
||||||
|
|
||||||
static const uint64_t blake2b_IV[8] =
|
CRYPTO_ALIGN(64) static const uint64_t blake2b_IV[8] =
|
||||||
{
|
{
|
||||||
0x6a09e667f3bcc908ULL, 0xbb67ae8584caa73bULL,
|
0x6a09e667f3bcc908ULL, 0xbb67ae8584caa73bULL,
|
||||||
0x3c6ef372fe94f82bULL, 0xa54ff53a5f1d36f1ULL,
|
0x3c6ef372fe94f82bULL, 0xa54ff53a5f1d36f1ULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user