Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ s2n-quic = "1"
```

**NOTE**: On unix-like systems, [`s2n-tls`](https://github.com/aws/s2n-tls) will be used as the default TLS provider.
On `aarch64` linux systems, [`aws-lc-rs`](https://github.com/awslabs/aws-lc-rs) will be used for cryptographic
On linux systems, [`aws-lc-rs`](https://github.com/awslabs/aws-lc-rs) will be used for cryptographic
operations. A C compiler and CMake may be required on these systems for installation.

## Example
Expand Down
4 changes: 2 additions & 2 deletions quic/s2n-quic-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ s2n-codec = { version = "=0.5.0", path = "../../common/s2n-codec", default-featu
s2n-quic-core = { version = "=0.22.0", path = "../s2n-quic-core", default-features = false }
zeroize = { version = "1", default-features = false, features = ["derive"] }

[target.'cfg(all(target_os = "linux", target_arch = "aarch64"))'.dependencies]
[target.'cfg(target_os = "linux")'.dependencies]
aws-lc-rs = { version = "1.0.0", default-features = false, features = ["aws-lc-sys"] }

[target.'cfg(not(all(target_os = "linux", target_arch = "aarch64")))'.dependencies]
[target.'cfg(not(target_os = "linux"))'.dependencies]
ring = { version = "0.16.20", default-features = false }


Expand Down
2 changes: 1 addition & 1 deletion quic/s2n-quic-crypto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mod ctr;
mod ghash;
mod iv;

#[cfg(all(target_os = "linux", target_arch = "aarch64"))]
#[cfg(target_os = "linux")]
use aws_lc_rs as ring;

#[doc(hidden)]
Expand Down