Expand description
Hybrid public key encryption (HPKE).
Structs§
- AeadKey 🔒A newtype wrapper for an unbound AEAD key.
- DhKem 🔒A Diffie-Hellman (DH) based Key Encapsulation Mechanism (KEM).
HpkeAwsLcRs
holds the concrete instantiations of the algorithms specified by the HpkeSuite.- A newtype wrapper for a DH KEM shared secret.
- Opener 🔒
- Sealer 🔒
Enums§
- Label 🔒Label describes the possible labels for use with labeled_extract_for_expand and labeled_expand.
- LabeledSuiteId describes the possible suite ID values for use with labeled_extract_for_expand and labeled_expand.
Constants§
Statics§
- Default [RFC 9180] Hybrid Public Key Encryption (HPKE) suites supported by aws-lc-rs cryptography.
- HPKE suite using ECDH P-256 for agreement, HKDF SHA-256 for key derivation, and AEAD AES-128-GCM for symmetric encryption.
- HPKE suite using ECDH P-256 for agreement, HKDF SHA-256 for key derivation and AEAD AES-256-GCM for symmetric encryption.
- HPKE suite using ECDH P-256 for agreement, HKDF SHA-256 for key derivation, and AEAD CHACHA20-POLY-1305 for symmetric encryption.
- HPKE suite using ECDH P-384 for agreement, HKDF SHA-384 for key derivation, and AEAD AES-128-GCM for symmetric encryption.
- HPKE suite using ECDH P-384 for agreement, HKDF SHA-384 for key derivation, and AEAD AES-256-GCM for symmetric encryption.
- HPKE suite using ECDH P-384 for agreement, HKDF SHA-384 for key derivation, and AEAD CHACHA20-POLY-1305 for symmetric encryption.
- HPKE suite using ECDH P-521 for agreement, HKDF SHA-512 for key derivation, and AEAD AES-128-GCM for symmetric encryption.
- HPKE suite using ECDH P-521 for agreement, HKDF SHA-512 for key derivation, and AEAD AES-256-GCM for symmetric encryption.
- HPKE suite using ECDH P-521 for agreement, HKDF SHA-512 for key derivation, and AEAD CHACHA20-POLY-1305 for symmetric encryption.
- HPKE suite using ECDH X25519 for agreement, HKDF SHA-256 for key derivation, and AEAD AES-128-GCM for symmetric encryption.
- HPKE suite using ECDH X25519 for agreement, HKDF SHA-256 for key derivation, and AEAD AES-256-GCM for symmetric encryption.
- HPKE suite using ECDH X25519 for agreement, HKDF SHA-256 for key derivation, and AEAD CHACHA20-POLY-1305 for symmetric encryption.
Functions§
- Generate a NIST P-256, P-384 or P-512 key pair expressed as a raw big-endian fixed-length integer.
- Generate a X25519 key pair expressed as a raw big-endian fixed-length integer.