aboutsummaryrefslogtreecommitdiff
path: root/reference_impl/reference_impl.rs
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2021-11-05 00:17:05 -0400
committerJack O'Connor <[email protected]>2021-11-05 12:18:23 -0400
commit682a2f3fe8e3f68f7dd29a6bc8454b768b8a87fd (patch)
tree4c262c3a58ac42522002a2a5037cc29f61677c39 /reference_impl/reference_impl.rs
parent04571021fb5490d0f0008c5b5a968f221de159a0 (diff)
fix incorrect output / undefined behavior in Windows SSE2 assemblyfix_sse2
The SSE2 patch introduced xmm10 as a temporary register for one of the rotations, but xmm6-xmm15 are callee-save registers on Windows, and SSE4.1 was only saving the registers it used. The minimal fix is to use one of the saved registers instead of xmm10. See https://github.com/BLAKE3-team/BLAKE3/issues/206.
Diffstat (limited to 'reference_impl/reference_impl.rs')
0 files changed, 0 insertions, 0 deletions