You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.
So, when I ported the code to a device that didn't support SSE, I experienced an "unexplained result error" in release build (because of uninitialized xof_length has the random value). The debug build is completely correct.
I spent two days debugging and finally found the problem here. I think the following code will be safer:
nheqminer/cpu_tromp/equi.h
Line 56 in b9900ff
The problem is that
blake2b_param
doesn't have to be 11 members, sometimes it can be 12:https://github.com/BLAKE2/BLAKE2/blob/320c325437539ae91091ce62efec1913cd8093c2/ref/blake2.h#L108
This non-SSE version of the blake2 implementation has 12 members in
blake2b_param
:So, when I ported the code to a device that didn't support SSE, I experienced an "unexplained result error" in release build (because of uninitialized
xof_length
has the random value). The debug build is completely correct.I spent two days debugging and finally found the problem here. I think the following code will be safer:
The text was updated successfully, but these errors were encountered: