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

Support AWS-LC in FIPS mode #198

Merged
merged 11 commits into from
Oct 18, 2024
Merged

Support AWS-LC in FIPS mode #198

merged 11 commits into from
Oct 18, 2024

Conversation

mulmarta
Copy link
Contributor

Changes:

  • FIPS does not have X509_get0_pubkey so it's replaced by X509_get_pubkey which differs in requiring free of the key
  • It seems that aws-lc-rs updated BIO_number_written and now it returns u64 instead of usize. This is not the case for FIPS.

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

@mulmarta mulmarta requested a review from a team as a code owner October 17, 2024 11:35
Marta Mularczyk added 2 commits October 17, 2024 13:35
@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 88.23529% with 4 lines in your changes missing coverage. Please review.

Project coverage is 90.16%. Comparing base (c710afa) to head (ffff30b).

Files with missing lines Patch % Lines
mls-rs-crypto-awslc/src/x509/component.rs 50.00% 3 Missing ⚠️
mls-rs-crypto-awslc/src/x509/certificate.rs 96.15% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #198      +/-   ##
==========================================
+ Coverage   90.15%   90.16%   +0.01%     
==========================================
  Files         175      175              
  Lines       31396    31408      +12     
==========================================
+ Hits        28306    28320      +14     
+ Misses       3090     3088       -2     

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

tomleavy
tomleavy previously approved these changes Oct 17, 2024
@tomleavy tomleavy merged commit 2e25a20 into main Oct 18, 2024
30 checks passed
@tomleavy tomleavy deleted the fips branch October 18, 2024 14: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