-
Notifications
You must be signed in to change notification settings - Fork 644
Initial addition of sqisign. #2174
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
Conversation
|
There are quite a few things that will need to be changed here but I thought I'd get the ball rolling on this. Besides all of the formatting issues that will have to be addressed there is probably an issue with the included mini-gmp. It's lgpl and I don't think that's what is wanted so we'll need to figure out what to do about GMP. @bhess knows about that and is working to help with this and the changes to upstream. |
|
Thank you for getting this started @shane-digi! I've approved CI workflows and they're running now. Please have a look here to see how to resolve the failing DCO test. |
|
The broadwell builds need |
Signed-off-by: Shane <[email protected]>
Signed-off-by: Shane <[email protected]>
Signed-off-by: Shane <[email protected]>
Is this because the code brings its own implementation of AES? Or because it happens to use one of the instructions available from |
It has it's own AES. I'm going to work on using the OQS one instead. That should fix the issues. |
That would be our preference, since we have optimized AES backends for a variety of targets. Unless it is particularly problematic to disentangle. |
Signed-off-by: Shane <[email protected]>
|
Any ideas/preferences on how to handle the GMP dependency (I'm not sure when @bhess is back from vacation but he has some ideas I believe)? |
I'm just back today :) Thanks a lot, @shane-digi, for kicking off the SQIsign integration. I’ll take a closer look at the PR this week. For liboqs users who don’t have GMP installed, or prefer not to depend on it, we could consider adding a configuration option to disable the GMP dependency and algorithms that depend on it entirely. |
|
Add dependency on GMP. |
Add gmp to nix [full tests] Signed-off-by: Basil Hess <[email protected]>
|
I've added a commit on top of this PR to link against GMP: see the branch here. That said, I believe there's still a blocker before we can proceed with merging: sqisign currently includes dpe.h, which is LGPL-licensed. Since liboqs does not distribute LGPL-licensed code, we'll need to wait for an upstream update that removes this dependency. In the meantime, it might be best to convert this PR to a draft until the dependency issue is resolved. |
Converting to draft now, apologies if this issue is already resolved. |
|
As this looks a bit "dormant" (not to say abandoned), question to @open-quantum-safe/oqs-committers : How shall this move towards merge-ability now that Pravek is not active in the project any more? Anyone willing to take the review lead? @shane-digi are you still interested in merging this? If so, could you please re-base to get rid of the conflicts? |
This has been blocked by licensing concerns which @hartm spoke about in the TSC meeting earlier this week, which he is continuing to work on resolving. |
|
I've been working in the meantime to resolve some issues and get the CI passing. You can see the progress on this branch. This should allow us to move forward once the license blocker is addressed. |
I'm fine with that. Whatever is easiest. |
Ok, closing this PR, see #2277. |
Add SQIsign from upstream to liboqs.
Fixes #1946