Overview of aws-lc-rs
mainWhat is aws-lc-rs?
aws-lc-rs is a cryptographic library for Rust that uses AWS Libcrypto (AWS-LC) for its cryptographic operations.
Key Features
- API Compatibility: It is designed to be API-compatible with the
ringlibrary (specificallyv0.16), allowing it to serve as a drop-in replacement. - FIPS Support: It is intended for developers who need to meet US and Canadian government cryptographic requirements (FIPS) while maintaining idiomatic and performant Rust code.
- FFI Bindings: The library uses auto-generated Foreign Function Interface (FFI) crates—either
aws-lc-sysoraws-lc-fips-sys—to bind to the underlying AWS-LC implementations.
When to use it
Use aws-lc-rs if you are currently using ring but need to deploy applications into AWS Regions that require FIPS-validated cryptography.