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

Remove dilithium flag #2106

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Conversation

jakemas
Copy link
Contributor

@jakemas jakemas commented Jan 10, 2025

Issues:

Resolves #CryptoAlg-2827

Description of changes:

  • Removed the enable_dilithium flag

Call-outs:

  • The build flag still exists but now has no functionality in the library (safe removal)

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.

@jakemas jakemas requested a review from a team as a code owner January 10, 2025 21:21
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.92%. Comparing base (e34998e) to head (cf0d3b3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2106      +/-   ##
==========================================
+ Coverage   78.75%   78.92%   +0.17%     
==========================================
  Files         598      610      +12     
  Lines      103656   105120    +1464     
  Branches    14720    14903     +183     
==========================================
+ Hits        81635    82968    +1333     
- Misses      21368    21499     +131     
  Partials      653      653              

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

@@ -381,16 +381,9 @@ typedef struct {
void evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx);

#define ED25519_PUBLIC_KEY_OFFSET 32

#ifdef ENABLE_DILITHIUM
#define FIPS_EVP_PKEY_METHODS 7
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this value not changing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We're marking ML-DSA as a NON_FIPS_EVP_PKEY_METHODS and yes it went from 3 to 4

Copy link
Contributor

Choose a reason for hiding this comment

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

I thought it was a FIPS_EVP_PKEY_METHODS before moving it outside the fipsmodule and now a change is needed in the FIPS_EVP_PKEY_METHODS count.
nvm, thanks!

@justsmth
Copy link
Contributor

The "aws-lc-rs" CI failure appear unrelated to this change.

@WillChilds-Klein WillChilds-Klein enabled auto-merge (squash) January 10, 2025 22:00
@WillChilds-Klein WillChilds-Klein merged commit d04c818 into aws:main Jan 10, 2025
124 of 125 checks passed
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