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

Add EVP API Support for ED25519ph #2144

Merged
merged 3 commits into from
Feb 8, 2025
Merged

Conversation

skmcgrail
Copy link
Member

@skmcgrail skmcgrail commented Jan 28, 2025

Description of changes:

Add support for HashEdDSA (Ed25519ph) to EVP APIs with support for setting the associated signature context. Opting not to expose Ed25519ctx explicitly at this time since there hasn't been an ask for it. Worse case scenario a user desiring it will have access to the low-level APIs where it is available.

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.

@skmcgrail skmcgrail changed the title Add EVP API Support for ED25519ph [Draft] Add EVP API Support for ED25519ph Jan 28, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jan 28, 2025

Codecov Report

Attention: Patch coverage is 89.05473% with 22 lines in your changes missing coverage. Please review.

Project coverage is 79.02%. Comparing base (df47b42) to head (f34fa91).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crypto/evp_extra/p_ed25519ph.c 74.69% 21 Missing ⚠️
crypto/fipsmodule/evp/evp.c 94.44% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2144      +/-   ##
==========================================
+ Coverage   79.00%   79.02%   +0.02%     
==========================================
  Files         611      612       +1     
  Lines      105904   106071     +167     
  Branches    14984    14993       +9     
==========================================
+ Hits        83665    83824     +159     
- Misses      21586    21595       +9     
+ Partials      653      652       -1     

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

@skmcgrail skmcgrail changed the title [Draft] Add EVP API Support for ED25519ph Add EVP API Support for ED25519ph Jan 29, 2025
@skmcgrail skmcgrail marked this pull request as ready for review January 29, 2025 00:42
@skmcgrail skmcgrail requested a review from a team as a code owner January 29, 2025 00:42
crypto/fipsmodule/evp/p_ed25519.c Outdated Show resolved Hide resolved
crypto/evp_extra/p_ed25519_asn1.c Outdated Show resolved Hide resolved
crypto/evp_extra/p_ed25519ph.c Outdated Show resolved Hide resolved
crypto/evp_extra/p_ed25519ph.c Outdated Show resolved Hide resolved
torben-hansen
torben-hansen previously approved these changes Jan 30, 2025
@skmcgrail
Copy link
Member Author

skmcgrail commented Feb 1, 2025

Reworked per our meeting to remove the keygen and ASN.1 serialization/deserialization support for ED25519ph. Should simplify the review some now.

@skmcgrail skmcgrail force-pushed the ed25519ph-hl branch 2 times, most recently from 2b9bb6c to d6d83f7 Compare February 1, 2025 01:03
torben-hansen
torben-hansen previously approved these changes Feb 4, 2025
nebeid
nebeid previously approved these changes Feb 7, 2025
@skmcgrail skmcgrail requested a review from nebeid February 7, 2025 21:13
@skmcgrail skmcgrail enabled auto-merge (squash) February 7, 2025 21:55
@skmcgrail skmcgrail merged commit 9921cd9 into aws:main Feb 8, 2025
117 of 120 checks passed
@skmcgrail skmcgrail deleted the ed25519ph-hl branch February 8, 2025 00:37
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