Skip to content
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

SPHINCS+ #3533

Closed
wants to merge 31 commits into from
Closed

SPHINCS+ #3533

wants to merge 31 commits into from

Conversation

reneme
Copy link
Collaborator

@reneme reneme commented Apr 28, 2023

#3099

This is a huge mess at the moment... no need to look deeper into it at this point.

TODO

  • Decide which KAT vectors to use and whether to disable some vectors due to timing constraints. The full KAT body would likely take way to long.

Implementation Milestones

That's a rough collection of implementation work packages. We'll keep it updated as things progress.

  • FORS signatures
  • WOTS signatures
  • XMSS-ish trees
  • SPHINCS+ hypertree
  • Integration in Botan's Pubkey Infrastructure

reneme and others added 3 commits April 27, 2023 12:10
Co-Authored-By: Fabian Albert <fabian.albert@rohde-schwarz.com>
@randombit
Copy link
Owner

I noticed you defined params for Haraka as well. If you plan to support this (I am ambivalent either way on this point) please create a distinct PR for adding it.

@reneme
Copy link
Collaborator Author

reneme commented Apr 30, 2023

I noticed you defined params for Haraka as well. If you plan to support this (I am ambivalent either way on this point) please create a distinct PR for adding it.

It's not quite clear whether we'll add Haraka. Currently the parameters were added for completeness. Certainly, support for Haraka won't come in this first PR.

lieser and others added 9 commits May 2, 2023 16:53
- add mgf1 and shake as required for sphincsplus
  Later at least shake should probably be optional
- remove thread_pool.h import
- update comment
Co-Authored-By: Amos Treiber<amos.treiber@rohde-schwarz.com>
Co-Authored-By: Rene Meusel<rene.meusel@rohde-schwarz.com>
@reneme reneme added the enhancement Enhancement or new feature label May 8, 2023
Comment on lines +21 to +26
auto sha256 = [](const Botan::Sphincs_Address& adrs)
{
auto h = Botan::HashFunction::create_or_throw("SHA-256");
adrs.apply_to_hash(*h);
return h->final_stdvec();
};
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add test for apply_to_hash_compressed()

Comment on lines +81 to +83
if(result.tests_failed() > 0){
int x = 0; // Dummy
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

@reneme
Copy link
Collaborator Author

reneme commented May 17, 2023

Closing in favor of #3549.

@reneme reneme closed this May 17, 2023
@randombit randombit deleted the pqc/sphincsplus branch April 20, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants