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

Update Kyber and Dilithium ARM code. #1320

Closed
xvzcf opened this issue Nov 23, 2022 · 7 comments
Closed

Update Kyber and Dilithium ARM code. #1320

xvzcf opened this issue Nov 23, 2022 · 7 comments
Milestone

Comments

@xvzcf
Copy link
Contributor

xvzcf commented Nov 23, 2022

No description provided.

@xvzcf xvzcf self-assigned this Nov 23, 2022
@dstebila dstebila added this to the 0.8.0 milestone Nov 23, 2022
@xvzcf
Copy link
Contributor Author

xvzcf commented Jan 16, 2023

As previously noted, our implementations are from PQClean, which in turn takes it from the neon-ntt project.

@baentsch
Copy link
Member

As previously noted, our implementations are from PQClean, which in turn takes it from the neon-ntt project.

Interesting to note -- what's the implication of this for us? Did PQClean not integrate the latest code from neon-ntt yet? Is neon-ntt itself not up-to-date compared to the ref implementation?

@dstebila
Copy link
Member

PQClean doesn't have the latest code from neon-ntt.

@dstebila dstebila modified the milestones: 0.8.0, 0.9.0 Mar 9, 2023
@baentsch
Copy link
Member

PQClean doesn't have the latest code from neon-ntt.

Is this still the case? Or would/should a fresh copy_from_upstream resolving #1506 also resolve this issue?

@mczraf
Copy link

mczraf commented Jul 18, 2023

PQClean doesn't have the latest code from neon-ntt.

Is this still the case? Or would/should a fresh copy_from_upstream resolving #1506 also resolve this issue?

I believe it is still the case. I've checked PQClean repo, and they are still using the original Neon implementation from Sep/2021.

It might be worth adding that upgrading this implementation to a newer version may lead to some additional benefits. For example, LibOQS Kyber's implementation is not marked as passing all Valgrind branch-on-secrets tests (see here). There's a chance this could be automatically fixed by simply resorting to the newer Neon implementation. PS: At the moment, I can't dedicate cycles to this effort myself unfortunately but I thought it would be helpful to comment here to reinforce that this seems like an interesting move for LibOQS.

Thank you all for this amazing project :)

Rafael Misoczki (speaking for myself)

@baentsch
Copy link
Member

baentsch commented Jul 19, 2023

Thanks for the feedback, @mczraf ! PQClean/PQClean#493 seems to confirm --and be work to resolve-- this. Add: Ouch -- that's Falcon, not Kyber.

@SWilson4
Copy link
Member

SWilson4 commented Aug 9, 2023

Fixed by #1512.

@SWilson4 SWilson4 closed this as completed Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants