aws / aws-lc-rs

aws-lc-rs is a cryptographic library using AWS-LC for its cryptographic operations. The library strives to be API-compatible with the popular Rust library named ring.
Other
272 stars 50 forks source link

No CMake required for non-FIPS #317

Closed justsmth closed 5 months ago

justsmth commented 8 months ago

Issues:

Addresses Issues:

Description of changes:

Call-outs:

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.

codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.82%. Comparing base (a29a615) to head (b6d06c8).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #317 +/- ## ======================================= Coverage 95.82% 95.82% ======================================= Files 60 60 Lines 7865 7865 ======================================= Hits 7537 7537 Misses 328 328 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

camshaft commented 6 months ago

One thing to note that we need to replicate (and maintain) the build-time checks here:

https://github.com/aws/aws-lc/blob/37708f52446ee727ebeea6beaba75baf0588593b/CMakeLists.txt#L426-L430 https://github.com/aws/aws-lc/blob/37708f52446ee727ebeea6beaba75baf0588593b/CMakeLists.txt#L311-L317

pronebird commented 5 months ago

What do you refer to when you say FIPS? Federal Information Processing Standards? Apologize for being silly, not familiar with the abbreviation.

justsmth commented 5 months ago

Yeah, "FIPS" stands for "Federal Information Processing Standards". We perform a special build process for AWS-LC when the "fips" feature is enabled. There is more information and links in this blog post about it: https://aws.amazon.com/blogs/security/aws-lc-is-now-fips-140-3-certified/