|
3 | 3 | [](https://crates.io/crates/aws-lc-fips-sys)
|
4 | 4 | [](https://github.com/awslabs/aws-lc-rs)
|
5 | 5 |
|
6 |
| -**Autogenerated** low-level AWS-LC FIPS bindings for the Rust programming language. We do not recommend directly relying on these bindings. |
| 6 | +**Autogenerated** low-level AWS-LC FIPS bindings for the Rust programming language. We do not recommend directly relying |
| 7 | +on these bindings. |
7 | 8 |
|
8 | 9 | [Documentation](https://github.com/aws/aws-lc).
|
9 | 10 |
|
10 | 11 | ## FIPS
|
11 | 12 |
|
12 |
| -This crate provides bindings to [AWS-LC-FIPS 2.x](https://github.com/aws/aws-lc/tree/fips-2022-11-02), which has completed |
13 |
| -FIPS validation testing by an accredited lab and has been submitted to NIST for certification. The static build of AWS-LC-FIPS |
14 |
| -is used. |
| 13 | +The aws-lc-fips-sys crate provides bindings to the latest version of the AWS-LC-FIPS module that |
| 14 | +has completed FIPS validation testing by an accredited lab and has been submitted to NIST for |
| 15 | +certification. This will continue to be the case as we periodically submit new versions of |
| 16 | +the AWS-LC-FIPS module to NIST for certification. Currently, aws-lc-fips-sys binds to |
| 17 | +[AWS-LC-FIPS 3.0.x](https://github.com/aws/aws-lc/tree/fips-2024-09-27). |
15 | 18 |
|
16 |
| -| Supported Targets | |
17 |
| -| --- | |
18 |
| -| x86_64-unknown-linux-gnu | |
19 |
| -| aarch64-unknown-linux-gnu | |
| 19 | +Consult with your local FIPS compliance team to determine the version of AWS-LC-FIPS module that you require. Consumers |
| 20 | +needing to remain on a previous version of the AWS-LC-FIPS module should pin to specific versions of aws-lc-rs to avoid |
| 21 | +automatically being upgraded to a newer module version. |
| 22 | +(See [cargo’s documentation](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html) |
| 23 | +on how to specify dependency versions.) |
20 | 24 |
|
21 |
| -Refer to the [NIST Cryptographic Module Validation Program's Modules In Progress List](https://csrc.nist.gov/Projects/cryptographic-module-validation-program/modules-in-process/Modules-In-Process-List) |
22 |
| -for the latest status of the static or dynamic AWS-LC Cryptographic Module. A complete list of supported operating environments will be |
23 |
| -made available in the vendor security policy once the validation certificate has been issued. We will also update our release notes |
24 |
| -and documentation to reflect any changes in FIPS certification status. |
| 25 | +| AWS-LC-FIPS module | aws-lc-rs | |
| 26 | +|--------------------|-----------| |
| 27 | +| 2.0.x | \<1.12.0 | |
| 28 | +| 3.0.x | *latest* | |
25 | 29 |
|
26 |
| -## Release Support |
| 30 | +Refer to the |
| 31 | +[NIST Cryptographic Module Validation Program's Modules In Progress List](https://csrc.nist.gov/Projects/cryptographic-module-validation-program/modules-in-process/Modules-In-Process-List) |
| 32 | +for the latest status of the static or dynamic AWS-LC Cryptographic Module. Please see the |
| 33 | +[FIPS.md in the aws-lc repository](https://github.com/aws/aws-lc/blob/main/crypto/fipsmodule/FIPS.md) |
| 34 | +for relevant security policies and information on supported operating environments. |
| 35 | +We will also update our release notes and documentation to reflect any changes in FIPS certification status. |
27 | 36 |
|
28 |
| -This crate pulls in the source code of the latest AWS-LC FIPS branch to build with it. Bindings for platforms we officially support are pre-generated. |
29 |
| -The platforms which `aws-lc-fips-sys` builds on is limited to the platforms where the AWS-LC FIPS static build is supported. |
| 37 | +## Building and Bindings |
| 38 | + |
| 39 | +This crate contains source code from a FIPS branch of AWS-LC for building and for bindings generation. A |
| 40 | +specialized FIPS build is performed. Bindings for some platforms are pre-generated. |
30 | 41 |
|
31 | 42 | ### Pregenerated Bindings Availability
|
32 | 43 |
|
33 |
| -Targets |
34 |
| ---------------------- |
35 |
| -aarch64_apple_darwin |
36 |
| -aarch64_unknown_linux_gnu |
37 |
| -aarch64_unknown_linux_musl |
38 |
| -x86_64_apple_darwin |
39 |
| -x86_64_unknown_linux_gnu |
40 |
| -x86_64_unknown_linux_musl |
| 44 | +| Targets | |
| 45 | +|----------------------------| |
| 46 | +| aarch64_apple_darwin | |
| 47 | +| aarch64_unknown_linux_gnu | |
| 48 | +| aarch64_unknown_linux_musl | |
| 49 | +| x86_64_apple_darwin | |
| 50 | +| x86_64_unknown_linux_gnu | |
| 51 | +| x86_64_unknown_linux_musl | |
41 | 52 |
|
42 | 53 | ### Prebuilt NASM objects
|
43 | 54 |
|
44 | 55 | Prebuilt NASM objects are *not* available for this crate.
|
45 | 56 |
|
46 | 57 | ### Tested AWS-LC FIPS Build Environments
|
47 | 58 |
|
48 |
| -`aws-lc-fips-sys` currently relies on the AWS-LC FIPS static build, please see our CI documentation at [AWS-LC](https://github.com/aws/aws-lc/tree/main/tests/ci#unit-tests). |
| 59 | +`aws-lc-fips-sys` currently relies on the AWS-LC FIPS static build, please see our CI documentation |
| 60 | +at [AWS-LC](https://github.com/aws/aws-lc/tree/main/tests/ci#unit-tests). |
49 | 61 |
|
50 | 62 | ## Build Prerequisites
|
51 | 63 |
|
52 |
| -Since this crate builds AWS-LC as a native library, all build tools needed to build AWS-LC are applicable to `aws-lc-fips-sys` as well. This includes Go and Perl, which are hard dependencies for the AWS-LC FIPS build. |
| 64 | +Since this crate builds AWS-LC as a native library, all build tools needed to build AWS-LC are applicable to |
| 65 | +`aws-lc-fips-sys` as well. This includes Go and Perl, which are hard dependencies for the AWS-LC FIPS build. |
53 | 66 |
|
54 | 67 | [Building AWS-LC](https://github.com/aws/aws-lc/blob/main/BUILDING.md)
|
55 | 68 |
|
56 |
| -If you use a different build combination for FIPS and would like us to support it, please open an issue to us at [AWS-LC](https://github.com/aws/aws-lc/issues/new?assignees=&labels=&template=build-issue.md&title=). |
| 69 | +If you use a different build combination for FIPS and would like us to support it, please open an issue to us |
| 70 | +at [AWS-LC](https://github.com/aws/aws-lc/issues/new?assignees=&labels=&template=build-issue.md&title=). |
57 | 71 |
|
58 | 72 | ## Security Notification Process
|
59 | 73 |
|
|
0 commit comments