-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
160 changed files
with
197 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[workspace] | ||
members = [ | ||
"aws-lc-rust", | ||
"aws-lc-rs", | ||
"aws-lc-sys", | ||
"aws-lc-fips-sys" | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# AWS Libcrypto for Rust | ||
[*aws-lc-rust*](aws-lc-rust/README.md) is a cryptographic library using [AWS-LC](https://github.com/aws/aws-lc) for its cryptographic operations. | ||
[*aws-lc-rs*](aws-lc-rs/README.md) is a cryptographic library using [AWS-LC](https://github.com/aws/aws-lc) for its cryptographic operations. | ||
This library strives to be API-compatible with the popular Rust library named | ||
[ring](https://github.com/briansmith/ring). It uses either the auto-generated [*aws-lc-sys*](aws-lc-sys/README.md) or [*aws-lc-fips-sys*](aws-lc-fips-sys/README.md) Foreign Function Interface (FFI) crates found in this | ||
repository for invoking *AWS-LC*. | ||
|
||
## Crates | ||
|
||
### [aws-lc-rust](aws-lc-rust/README.md) | ||
### [aws-lc-rs](aws-lc-rs/README.md) | ||
A *ring*-compatible crypto library using the cryptographic operations provided by | ||
[*AWS-LC*](https://github.com/awslabs/aws-lc) using either *aws-lc-sys* or *aws-lc-fips-sys*. | ||
|
||
|
@@ -19,24 +19,24 @@ We do not recommend directly relying on these bindings. | |
We do not recommend directly relying on these bindings. This crate uses [AWS-LC](https://github.com/aws/aws-lc/tree/fips-2022-11-02), | ||
which been submitted to an accredited lab for FIPS validation testing, and upon completion will be submitted to NIST | ||
for certification. Once NIST grants a validation certificate to AWS-LC, we will make an announcement to Rust developers | ||
on how to leverage the FIPS mode using [aws-lc-rust](https://crates.io/crates/aws-lc-rust). | ||
on how to leverage the FIPS mode using [aws-lc-rs](https://crates.io/crates/aws-lc-rs). | ||
|
||
# Motivation | ||
As there exists no standard Rust cryptographic API, we chose the Rust cryptographic library ring (v0.16) as our target API to | ||
build higher-level Rust bindings on top of *AWS-LC*. *ring* is one of the most used cryptographic APIs in the Rust community, | ||
but lacked support for alternate cryptographic implementations. Our desire to build a Rust API on top of AWS-LC is to be able | ||
to offer a FIPS validated Rust option for our customers. AWS-LC has been validated by an accredited lab, | ||
and was submitted to NIST on 2021-12-23. *aws-lc-rust* adds to the Rust cryptographic landscape with features such as an | ||
and was submitted to NIST on 2021-12-23. *aws-lc-rs* adds to the Rust cryptographic landscape with features such as an | ||
experimental FIPS operation mode, a stable API, and a process for | ||
[vulnerability reporting and disclosure](#security-notification-process). | ||
|
||
## Questions, Feedback and Contributing | ||
|
||
* [Submit an non-security Bug/Issue/Request](https://github.com/awslabs/aws-lc-rust/issues/new/choose) | ||
* [API documentation](https://docs.rs/aws-lc-rust/) | ||
* [API documentation](https://docs.rs/aws-lc-rs/) | ||
* [Fork our repo](https://github.com/awslabs/aws-lc-rust/fork) | ||
|
||
If you have any questions about submitting PR's, opening issues, *aws-lc-rust* API usage or | ||
If you have any questions about submitting PR's, opening issues, *aws-lc-rs* API usage or | ||
any similar topic, we have a public chatroom available here to answer your questions | ||
on [Gitter](https://gitter.im/aws/aws-lc). | ||
|
||
|
@@ -45,13 +45,13 @@ follow our *Security Notification Process* below. | |
|
||
## Security Notification Process | ||
|
||
If you discover a potential security issue in *AWS-LC* or *aws-lc-rust*, we ask that you notify AWS | ||
If you discover a potential security issue in *AWS-LC* or *aws-lc-rs*, we ask that you notify AWS | ||
Security via our | ||
[vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting/). | ||
Please do **not** create a public GitHub issue. | ||
|
||
If you package or distribute *aws-lc-rust*, or use *aws-lc-rust* as part of a large multi-user service, | ||
you may be eligible for pre-notification of future *aws-lc-rust* releases. | ||
If you package or distribute *aws-lc-rs*, or use *aws-lc-rs* as part of a large multi-user service, | ||
you may be eligible for pre-notification of future *aws-lc-rs* releases. | ||
Please contact [email protected]. | ||
|
||
## License | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Style Guide for *aws-lc-rust* | ||
# Style Guide for *aws-lc-rs* | ||
|
||
This project follows the standard Rust Style Guidelines [documented here](https://github.com/rust-lang/fmt-rfcs/blob/master/guide/guide.md). | ||
This project follows the standard Rust Style Guidelines [documented here](https://github.com/rust-lang/fmt-rfcs/blob/master/guide/guide.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# AWS Libcrypto for Rust (aws-lc-rust) | ||
# AWS Libcrypto for Rust (aws-lc-rs) | ||
|
||
[](https://crates.io/crates/aws-lc-rust) | ||
[](https://crates.io/crates/aws-lc-rs) | ||
[](https://github.com/awslabs/aws-lc-rust) | ||
|
||
*ring*-compatible crypto library using the cryptographic operations provided by | ||
|
@@ -20,7 +20,7 @@ Enable feature to preserve compatibility with ring's `signature::VerificationAlg | |
function. This adds a requirement on `untrusted = "0.7.1"`. | ||
|
||
##### - fips #### | ||
**EXPERIMENTAL** Enable this feature to have aws-lc-rust use the | ||
**EXPERIMENTAL** Enable this feature to have aws-lc-rs use the | ||
[*aws-lc-fips-sys*](https://crates.io/crates/aws-lc-fips-sys) crate for the cryptographic | ||
implementations. The *aws-lc-fips-sys* crate provides bindings to the FIPS variant of | ||
[*AWS-LC*](https://github.com/aws/aws-lc). AWS-LC has been submitted to an accredited lab | ||
|
@@ -55,17 +55,17 @@ and performant Rust, built around our AWS-LC offering. We found the popular ring | |
fulfilled much of the cryptographic needs in the Rust community, but it did not meet the needs | ||
of developers with FIPS requirements. Our intention is to contribute a drop-in replacement for | ||
ring that provides FIPS and is compatible with the ring API. Rust developers with prescribed | ||
cryptographic requirements can seamlessly integrate aws-lc-rust into their applications and | ||
cryptographic requirements can seamlessly integrate aws-lc-rs into their applications and | ||
deploy them into AWS Regions. | ||
|
||
|
||
## Questions, Feedback and Contributing | ||
|
||
* [Submit an non-security Bug/Issue/Request](https://github.com/awslabs/aws-lc-rust/issues/new/choose) | ||
* [API documentation](https://docs.rs/aws-lc-rust/) | ||
* [API documentation](https://docs.rs/aws-lc-rs/) | ||
* [Fork our repo](https://github.com/awslabs/aws-lc-rust/fork) | ||
|
||
If you have any questions about submitting PR's, opening issues, *aws-lc-rust* API usage or | ||
If you have any questions about submitting PR's, opening issues, *aws-lc-rs* API usage or | ||
any similar topic, we have a public chatroom available here to answer your questions | ||
on [Gitter](https://gitter.im/aws/aws-lc). | ||
|
||
|
@@ -74,13 +74,13 @@ follow our *Security Notification Process* below. | |
|
||
## Security Notification Process | ||
|
||
If you discover a potential security issue in *AWS-LC* or *aws-lc-rust*, we ask that you notify AWS | ||
If you discover a potential security issue in *AWS-LC* or *aws-lc-rs*, we ask that you notify AWS | ||
Security via our | ||
[vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting/). | ||
Please do **not** create a public GitHub issue. | ||
|
||
If you package or distribute *aws-lc-rust*, or use *aws-lc-rust* as part of a large multi-user service, | ||
you may be eligible for pre-notification of future *aws-lc-rust* releases. | ||
If you package or distribute *aws-lc-rs*, or use *aws-lc-rs* as part of a large multi-user service, | ||
you may be eligible for pre-notification of future *aws-lc-rs* releases. | ||
Please contact [email protected]. | ||
|
||
## License | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# AWS Libcrypto for Rust ({{crate}}) | ||
|
||
[](https://crates.io/crates/aws-lc-rust) | ||
[](https://crates.io/crates/aws-lc-rs) | ||
[](https://github.com/awslabs/aws-lc-rust) | ||
|
||
{{readme}} | ||
|
||
## Questions, Feedback and Contributing | ||
|
||
* [Submit an non-security Bug/Issue/Request](https://github.com/awslabs/aws-lc-rust/issues/new/choose) | ||
* [API documentation](https://docs.rs/aws-lc-rust/) | ||
* [API documentation](https://docs.rs/aws-lc-rs/) | ||
* [Fork our repo](https://github.com/awslabs/aws-lc-rust/fork) | ||
|
||
If you have any questions about submitting PR's, opening issues, *aws-lc-rust* API usage or | ||
If you have any questions about submitting PR's, opening issues, *aws-lc-rs* API usage or | ||
any similar topic, we have a public chatroom available here to answer your questions | ||
on [Gitter](https://gitter.im/aws/aws-lc). | ||
|
||
|
@@ -20,13 +20,13 @@ follow our *Security Notification Process* below. | |
|
||
## Security Notification Process | ||
|
||
If you discover a potential security issue in *AWS-LC* or *aws-lc-rust*, we ask that you notify AWS | ||
If you discover a potential security issue in *AWS-LC* or *aws-lc-rs*, we ask that you notify AWS | ||
Security via our | ||
[vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting/). | ||
Please do **not** create a public GitHub issue. | ||
|
||
If you package or distribute *aws-lc-rust*, or use *aws-lc-rust* as part of a large multi-user service, | ||
you may be eligible for pre-notification of future *aws-lc-rust* releases. | ||
If you package or distribute *aws-lc-rs*, or use *aws-lc-rs* as part of a large multi-user service, | ||
you may be eligible for pre-notification of future *aws-lc-rs* releases. | ||
Please contact [email protected]. | ||
|
||
## License | ||
|
Oops, something went wrong.