Commented out assert. Its still firing without an accompanying SIGBUS
parent
08fb87417d
commit
be572877f6
|
|
@ -3441,7 +3441,7 @@ static const int LANE_L64 = 0;
|
||||||
|
|
||||||
static void BLAKE2_NEON_Compress32(const byte* input, BLAKE2_State<word32, false>& state)
|
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[0],GetAlignmentOf<uint32x4_t>()));
|
||||||
assert(IsAlignedOn(&state.h[4],GetAlignmentOf<uint32x4_t>()));
|
assert(IsAlignedOn(&state.h[4],GetAlignmentOf<uint32x4_t>()));
|
||||||
assert(IsAlignedOn(&state.t[0],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)
|
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[0],GetAlignmentOf<uint64x2_t>()));
|
||||||
assert(IsAlignedOn(&state.h[4],GetAlignmentOf<uint64x2_t>()));
|
assert(IsAlignedOn(&state.h[4],GetAlignmentOf<uint64x2_t>()));
|
||||||
assert(IsAlignedOn(&state.t[0],GetAlignmentOf<uint64x2_t>()));
|
assert(IsAlignedOn(&state.t[0],GetAlignmentOf<uint64x2_t>()));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue