sphincs / sphincsplus

The SPHINCS+ reference code, accompanying the submission to NIST's Post-Quantum Cryptography project
https://sphincs.org
Other
131 stars 44 forks source link

Performance Optimizations #16

Closed sfluhrer closed 3 years ago

sfluhrer commented 4 years ago

This is a proposed performance optimization; the improvements I see (measured on my Xeon) are:

Now, as for a summary of the changes:

Enjoy!

bwesterb commented 4 years ago

Oh, btw, did you check that test vectors didn't change? (As this changes both ref and the optimised versions.)

sfluhrer commented 4 years ago

Yes, I did verify the test vectors, for both the reference and the optimized versions. A diff between the current version and the new version showed no differences.

From: Bas Westerbaan notifications@github.com Sent: Monday, October 05, 2020 7:58 AM To: sphincs/sphincsplus sphincsplus@noreply.github.com Cc: Scott Fluhrer (sfluhrer) sfluhrer@cisco.com; Author author@noreply.github.com Subject: Re: [sphincs/sphincsplus] Performance Optimizations (#16)

Oh, btw, did you check that test vectors didn't change? (As this changes both ref and the optimised versions.)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/sphincs/sphincsplus/pull/16#issuecomment-703584209, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB5KPWUR6ATWBMGICAGWHYTSJGYD5ANCNFSM4RSQ33SA.