summaryrefslogtreecommitdiff
path: root/blake2.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-05-28 19:22:24 -0400
committerJeffrey Walton <noloader@gmail.com>2016-05-28 19:22:24 -0400
commitbe572877f6494805fdb0872ba2d60b2334038de3 (patch)
tree6a2b5450a49674de031fe0e5a651cbaef942d883 /blake2.cpp
parent08fb87417d42a06251d65e82898202cdc9445ea3 (diff)
downloadcryptopp-git-be572877f6494805fdb0872ba2d60b2334038de3.tar.gz
Commented out assert. Its still firing without an accompanying SIGBUS
Diffstat (limited to 'blake2.cpp')
-rw-r--r--blake2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/blake2.cpp b/blake2.cpp
index 64048958..ff600aef 100644
--- a/blake2.cpp
+++ b/blake2.cpp
@@ -3441,7 +3441,7 @@ static const int LANE_L64 = 0;
static void BLAKE2_NEON_Compress32(const byte* input, BLAKE2_State<word32, false>& state)
{
- assert(IsAlignedOn(input,GetAlignmentOf<uint8_t*>()));
+ //assert(IsAlignedOn(input,GetAlignmentOf<uint8_t*>()));
assert(IsAlignedOn(&state.h[0],GetAlignmentOf<uint32x4_t>()));
assert(IsAlignedOn(&state.h[4],GetAlignmentOf<uint32x4_t>()));
assert(IsAlignedOn(&state.t[0],GetAlignmentOf<uint32x4_t>()));
@@ -3947,7 +3947,7 @@ static void BLAKE2_NEON_Compress32(const byte* input, BLAKE2_State<word32, false
static void BLAKE2_NEON_Compress64(const byte* input, BLAKE2_State<word64, true>& state)
{
- assert(IsAlignedOn(input,GetAlignmentOf<uint8_t*>()));
+ //assert(IsAlignedOn(input,GetAlignmentOf<uint8_t*>()));
assert(IsAlignedOn(&state.h[0],GetAlignmentOf<uint64x2_t>()));
assert(IsAlignedOn(&state.h[4],GetAlignmentOf<uint64x2_t>()));
assert(IsAlignedOn(&state.t[0],GetAlignmentOf<uint64x2_t>()));