-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decode FORS indices similarly to WOTS #51
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Oops, David Cooper is right; this does flip the bit order for each leaf. What we want is: indices[i] ^= ((m[offset >> 3] >> (~offset & 0x7)) & 0x1) << (SPX_FORS_HEIGHT-1-j); |
Indeed, whoops. Generating new test vectors now ... |
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it looks good
Is there a timeline for this getting merged? It's a breaking change so perhaps should come with some forewarning? |
SPHINCS+ (or SLH-DSA as it will be called by NIST) is not finalised, and could very well see even more changes. If you want to adopt early, you should fix on a specific commit (and keep track for bug fixes.) I'm sorry, this is annoying for early adopters, but that's the risk of adopting early. |
It's all good, was simply wondering about how the rollout would happen. Codewise the change is trivial, it is more the versioning and nomenclature around this change. |
Changes as per sphincs/sphincsplus#51
c8116bc
to
eccdc43
Compare
Rebased on master. |
As proposed by NIST's David Cooper: https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/88tuvtb7nN4/m/DA1QCoJWBAAJ
eccdc43
to
129b72c
Compare
As proposed by NIST's David Cooper:
https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/88tuvtb7nN4/m/DA1QCoJWBAAJ