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

Import Jitter Entropy v3.6.2 using new method and switch code to using it #2276

Open
wants to merge 4 commits into
base: randomness_generation
Choose a base branch
from

Conversation

torben-hansen
Copy link
Contributor

Description of changes:

This PR does three things: 1) Starts using the new Jitter Entropy import method 2) Imports Jitter Entropy v3.6.2 3) switch to using the new imported code.

Code changes at the AWS-LC level are based on #2220.

Jitter Entropy imported source code is now in under /third-party/jitterentropy/jitterentropy-library/. Meta data on the import is in /third_party/jitterentropy/META.yml.

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 March 17, 2025 23:48
@codecov-commenter
Copy link

codecov-commenter commented Mar 18, 2025

Codecov Report

Attention: Patch coverage is 71.65354% with 36 lines in your changes missing coverage. Please review.

Project coverage is 79.04%. Comparing base (307c229) to head (53a0838).

Files with missing lines Patch % Lines
...opy/jitterentropy-library/src/jitterentropy-base.c 17.14% 27 Missing and 2 partials ⚠️
...y/jitterentropy-library/src/jitterentropy-health.c 69.56% 5 Missing and 2 partials ⚠️
Additional details and impacted files
@@                    Coverage Diff                    @@
##           randomness_generation    #2276      +/-   ##
=========================================================
- Coverage                  79.05%   79.04%   -0.02%     
=========================================================
  Files                        629      629              
  Lines                     107361   107397      +36     
  Branches                   15169    15170       +1     
=========================================================
+ Hits                       84873    84890      +17     
- Misses                     21772    21789      +17     
- Partials                     716      718       +2     

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@@ -0,0 +1,5 @@
name: jitterentropy-library
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we just make jitterentropy a git submodule?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, we could. But we do not use it anywhere else. It would be a strictly bigger behaviour change. Probably something we should do a cross the whole library at the same time.

@torben-hansen torben-hansen force-pushed the ragdoll_jitter_entropy_v3.6.2 branch from 3b363fd to 53a0838 Compare March 18, 2025 13:55
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.

3 participants