-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIPS Feature Improvements #244
Conversation
Merge main into fips-api-changes
* Migrate ECDSA to FIPS Approved Functions (aws#188) * Migrate RSA to FIPS Approved Functions (aws#196) * Migrate Agreement to FIPS Approved Functions (aws#198) * FIPS AEAD API Types (aws#207) * Refactor HKDF for FIPS (aws#217) * FIPS Status Indicator (aws#216) * Migrate Ed25519 key generation to EVP_PKEY_keygen (aws#224) * FIPS Usage Documentation (aws#231) * Support for TLS 1.2 PRF (aws#232) * Documentation cleanup (aws#243) * Cleanup for fips-api-changes branch (aws#248)
Unless I've missed something, I think [1]: ref |
(btw, if the intention is to validate the nonces in |
You are correct that |
Description of changes:
aws_lc_rs::aead::RandomizedNonceKey
has been added to easily allow for encryption or decryption of data using AES-128 and AES-256 GCM with a cryptographically secure random generated 96-bit (12 byte) nonces. This provides an alternative for users who don't want to construct and manage aNonceSequence
with theOpeningKey
/SealingKey
based types.aws_lc_rs::aead::TlsRecordOpeningKey
andaws_lcs_rs::aead::TlsRecordSealingKey
have been added to aid systems developers who are creating TLS protocol implementations. TheTlsRecordSealingKey
validates that the provided sequence of nonces are monotonically increasing.aws_lc_rs::tls_prf
module has been added for systems developers who need access to TLS 1.2 PRF APIs for usage in implementing RFC 5246 and RFC 7627.aws_lc_rs::signature::Ed25519KeyPair::generate_pkcs8
andaws_lc_rs::signature::Ed25519KeyPair::generate_pkcs8v1
no longer use the provided&dyn SecureRandom
. This is consistent with other public APIs inaws_lc_rs
that don't honor this parameter. This has been treated a legacy argument that is only present in our APIs for drop-in compatibility with ring 0.16 releases.Call-outs:
PRs that need to be merged into
fips-api-changes
first prior to this merging: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.