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
configure: introduce no-ecx to remove ECX related feature #20781
Conversation
The curve type is Edwards not Edward. However you're removing not just the EdDSA but also the Montgomery X curves. So I think the build option should be named |
This also needs testing in form of runchecker no-ecx build in the run-checker-merge.yml |
Thanks for review.
I am not familiar with testing, does it means add 'no-ecx' to openssl/.github/workflows/run-checker-daily.yml Lines 22 to 27 in a901b31
|
Yes, add a line there and it will be tested. |
Please add it at the similar place in run-checker-merge.yml instead of run-checker-daily.yml. |
Updated, please take a look |
4569a01
to
632f83a
Compare
a800dbc
to
4eedabf
Compare
Thanks for review, I resolved previous comments, with the following changes:
Patch updated. |
++visibility |
I see this failure in your on-push actions: https://github.com/liyi77/openssl/actions/runs/4988224062/jobs/8930739805 could you please resolve it? |
Oh I didn't realize there were some tests here, I'll fix it ASAP |
This can effectively reduce the binary size for platforms that don't need ECX feature(~100KB). Signed-off-by: Yi Li <yi1.li@intel.com>
This error is because a defined but not used function in test/evp_pkey_provided_test.c, fixed:
I'm not sure if I understand it correctly, does it mean: liyi77#5 |
Hello, can this PR be applied to openssl3.0 or openssl3.1? |
As per our stable releases policy, without an OTC exception, only bug fixes can be back ported. Make a case for this being either a bug or sufficiently worthy for back port as a feature and the OTC can make a decision. |
For users who don't need ECX, this feature can save ~120KB, about 8% (tested with UEFI system, compiled with VS2019). |
OTC: Back port to 3.1 and/or 3.0 or not? |
OTC: We are disinclined to backport this to 3.0, 3.1. However we are open to additional community feedback influencing this decision. |
24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually. |
Merged to master, thanks for the contribution. |
This can effectively reduce the binary size for platforms that don't need ECX feature(~100KB). Signed-off-by: Yi Li <yi1.li@intel.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from #20781)
Errr....was this closed prematurely? As I recall OTC were ok with master, but the 3.1/3.0 backport still has an OTC hold on it... |
OK, reopening. |
That's why I left it open after merging 😺 |
OTC: We will not backport this to 3.1, 3.0 now. |
Users who are sensitive to size can use this to remove the code related to edward curve.
Will reduce ~120KB binaries size when building crypto library in EDK2(original size is 1578KB).
Checklist