Skip to content

Remove retries on PCT failure in EC and RSA key generation. (#1938)#1944

Merged
nebeid merged 2 commits intoaws:fips-2024-09-27from
nebeid:fips-2024-09-27-w-PR1938
Oct 23, 2024
Merged

Remove retries on PCT failure in EC and RSA key generation. (#1938)#1944
nebeid merged 2 commits intoaws:fips-2024-09-27from
nebeid:fips-2024-09-27-w-PR1938

Conversation

@nebeid
Copy link
Copy Markdown
Contributor

@nebeid nebeid commented Oct 23, 2024

Issues:

Addresses #CryptoAlg-2756

Description of changes:

FIPS review: The module should enter an error state if PCT fails in EC or RSA key generation, so there should be no retries and it aborts. This is to avoid that other threads would continue to use the module.

(cherry picked from commit 90d2a34 on main, PR #1938)

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.

FIPS review: The module should enter an error state if PCT fails in EC
or RSA key generation, so there should be no retries and it aborts. This
is to avoid that other threads would continue to use the module.

(cherry picked from commit 90d2a34)
@nebeid nebeid requested a review from a team as a code owner October 23, 2024 16:58
@nebeid nebeid requested a review from skmcgrail October 23, 2024 16:58
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.

Project coverage is 78.58%. Comparing base (3d72a6c) to head (af5b5af).

Files with missing lines Patch % Lines
crypto/fipsmodule/rsa/rsa_impl.c 92.85% 1 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                 @@
##           fips-2024-09-27    #1944      +/-   ##
===================================================
- Coverage            78.59%   78.58%   -0.01%     
===================================================
  Files                  585      585              
  Lines               100520   100509      -11     
  Branches             14256    14254       -2     
===================================================
- Hits                 79001    78987      -14     
- Misses               20881    20888       +7     
+ Partials               638      634       -4     

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

@nebeid nebeid merged commit 993087f into aws:fips-2024-09-27 Oct 23, 2024
@nebeid nebeid deleted the fips-2024-09-27-w-PR1938 branch October 23, 2024 19:23
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.

4 participants