aboutsummaryrefslogtreecommitdiff
path: root/crypto/blake2
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-03-06 12:57:09 +1000
committerRichard Levitte <levitte@openssl.org>2019-03-11 14:45:18 +0100
commit98f29466dc1ed7f80b9b8750309a41b5a1150d25 (patch)
treecf2d29ebbf54b02dd6b9b920db80aab3e636cdda /crypto/blake2
parent2a6a56073ce2ccac3e8c83b5434c6472ab6354e4 (diff)
downloadopenssl-98f29466dc1ed7f80b9b8750309a41b5a1150d25.zip
openssl-98f29466dc1ed7f80b9b8750309a41b5a1150d25.tar.gz
openssl-98f29466dc1ed7f80b9b8750309a41b5a1150d25.tar.bz2
fix truncation of integers on 32bit AIX
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8417)
Diffstat (limited to 'crypto/blake2')
-rw-r--r--crypto/blake2/blake2b.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/blake2/blake2b.c b/crypto/blake2/blake2b.c
index 73ba0b6..813f9dd 100644
--- a/crypto/blake2/blake2b.c
+++ b/crypto/blake2/blake2b.c
@@ -23,10 +23,10 @@
static const uint64_t blake2b_IV[8] =
{
- 0x6a09e667f3bcc908U, 0xbb67ae8584caa73bU,
- 0x3c6ef372fe94f82bU, 0xa54ff53a5f1d36f1U,
- 0x510e527fade682d1U, 0x9b05688c2b3e6c1fU,
- 0x1f83d9abfb41bd6bU, 0x5be0cd19137e2179U
+ 0x6a09e667f3bcc908ULL, 0xbb67ae8584caa73bULL,
+ 0x3c6ef372fe94f82bULL, 0xa54ff53a5f1d36f1ULL,
+ 0x510e527fade682d1ULL, 0x9b05688c2b3e6c1fULL,
+ 0x1f83d9abfb41bd6bULL, 0x5be0cd19137e2179ULL
};
static const uint8_t blake2b_sigma[12][16] =