Add both variants of frodokem#2342
Conversation
|
Hi @ode ! First, thank you very much for the PR. It was in my mental backlog of things to do but I simply have not had the time to get on with it as I wished. A couple comments: first, documentation and test should also be updated, but I imagine since the PR is in Draft mode, that would get updated later. The other one is to continue @baentsch's discussion here regarding including the code via |
|
Hi! I've been meaning to do this for a while too, this was a good opportunity to get my feet wet without getting too deep into the actual crypto.
That's right; I'll be committing the documentation changes sometime this week. To my pleasant surprise, I found that
My understanding of In any case, there have not been any updates to the actual implementation in the upstream for three years now. |
|
Updated docs, KATs, benchmark workflow, CBOM, etc; |
|
Tests notwithstanding (I do not know why they have not been triggered), the PR LGTM! Thanks for the contribution @ode. Some comments:
|
For PRs from external contributors, a committer has to approve the workflow to run. I'll do so momentarily.
The upstream repository is maintained by Patrick Longa at Microsoft Research, so it would be up to him if he's amenable to having that supporting material in their repository. But it's worth a try.
Good point. |
dstebila
left a comment
There was a problem hiding this comment.
Looks good to me, other than the small change to the spec version.
Signed-off-by: Harshith Vasireddy <vasire@aol.com>
|
Had to do a rebase for a clean merge on CBOM @dstebila - I've addressed the review comment. The failing test earlier was due to incorrect alphabetical ordering on KATs. Hopefully everything works on a re-run |
- Updated docs/algorithms/kem/frodokem.yml - Autogenerated doc changes with scripts/update_docs_from_yaml.py - Updated github workflow for kem benchmarks - Formatted src/kem/kem.c to be in line with astyle - Added KATs for FrodoKEM, Renamed older KATs to eFrodoKEM - Updated CBOM Signed-off-by: Harshith Vasireddy <vasire@aol.com>
|
@bhess Would you be able to help with resolving the CBOM conflicts? |
Signed-off-by: Basil Hess <bhe@zurich.ibm.com>
This PR updates the frodokem implementation to align with the current upstream; more specifically
Resolves #2192
Frodokem's ciphertext length (i.e. encaps output) changes due to the added salt
6 additional variants in the frodokem family are added. CI and oqs-provider changes will follow