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

Upstream merge 2023-11-20 #1315

Merged
merged 3 commits into from
Nov 22, 2023

Conversation

torben-hansen
Copy link
Contributor

Description of changes:

Take upstream commits.

Call-outs:

See relevant document.

Testing:

How is this change tested (unit tests, fuzz tests, etc.)? Are there any testing steps to be verified by the reviewer?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@torben-hansen torben-hansen requested a review from a team as a code owner November 20, 2023 18:57
@torben-hansen torben-hansen force-pushed the upstream-merge-2023-11-20 branch 2 times, most recently from 86b3c1f to 037e179 Compare November 20, 2023 19:24
@torben-hansen
Copy link
Contributor Author

For FV failure: P106262400

davidben and others added 3 commits November 22, 2023 12:58
One less value to initialize statically. Also this simplifies EC_GROUP
initialization. While I'm here, reorder EC_GROUP to pad better.

This lets us simplify the init bits slightly. It does mean p224-64.c,
the one EC_GROUP that doesn't use Montgomery reduction, carries around a
wasted Montgomery context, but it'll make generating the tables
statically much easier. Also once the data is pre-generated, the cost is
minimal.

Bug: 20
Change-Id: Ib66e655ce5a0902ab3ed6695fcbb46aa87683885
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/60928
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
(cherry picked from commit 8e8f87ea945b944dc9ecbeff1a955e73d1f67209)
The delocate machinery makes it annoying to have pointers in structures.
Also this is a hair more compact.

Bug: 20
Change-Id: I2bc2dd97018277b5be55fd560f4171b7b85928ff
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/60929
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
(cherry picked from commit 72540c1049732f30bb84e6e5a43f0dd55191cd63)
@codecov-commenter
Copy link

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (80f3f33) 76.38% compared to head (1be0ce6) 76.38%.

Files Patch % Lines
crypto/fipsmodule/ec/ec.c 96.29% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1315      +/-   ##
==========================================
- Coverage   76.38%   76.38%   -0.01%     
==========================================
  Files         421      421              
  Lines       70974    70913      -61     
==========================================
- Hits        54212    54164      -48     
+ Misses      16762    16749      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@torben-hansen torben-hansen merged commit 6875885 into aws:main Nov 22, 2023
18 of 20 checks passed
@torben-hansen torben-hansen deleted the upstream-merge-2023-11-20 branch November 22, 2023 22:14
@justsmth justsmth mentioned this pull request Dec 4, 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

Successfully merging this pull request may close these issues.

5 participants