Skip to main content

Module hpke

Module hpke 

Source
Expand description

Hybrid public key encryption (HPKE).

Structs§

HpkeAwsLcRs
HpkeAwsLcRs holds the concrete instantiations of the algorithms specified by the HpkeSuite.

Statics§

ALL_SUPPORTED_SUITES
Default [RFC 9180] Hybrid Public Key Encryption (HPKE) suites supported by aws-lc-rs cryptography.
DH_KEM_P256_HKDF_SHA256_AES_128
HPKE suite using ECDH P-256 for agreement, HKDF SHA-256 for key derivation, and AEAD AES-128-GCM for symmetric encryption.
DH_KEM_P256_HKDF_SHA256_AES_256
HPKE suite using ECDH P-256 for agreement, HKDF SHA-256 for key derivation and AEAD AES-256-GCM for symmetric encryption.
DH_KEM_P256_HKDF_SHA256_CHACHA20_POLY1305
HPKE suite using ECDH P-256 for agreement, HKDF SHA-256 for key derivation, and AEAD CHACHA20-POLY-1305 for symmetric encryption.
DH_KEM_P384_HKDF_SHA384_AES_128
HPKE suite using ECDH P-384 for agreement, HKDF SHA-384 for key derivation, and AEAD AES-128-GCM for symmetric encryption.
DH_KEM_P384_HKDF_SHA384_AES_256
HPKE suite using ECDH P-384 for agreement, HKDF SHA-384 for key derivation, and AEAD AES-256-GCM for symmetric encryption.
DH_KEM_P384_HKDF_SHA384_CHACHA20_POLY1305
HPKE suite using ECDH P-384 for agreement, HKDF SHA-384 for key derivation, and AEAD CHACHA20-POLY-1305 for symmetric encryption.
DH_KEM_P521_HKDF_SHA512_AES_128
HPKE suite using ECDH P-521 for agreement, HKDF SHA-512 for key derivation, and AEAD AES-128-GCM for symmetric encryption.
DH_KEM_P521_HKDF_SHA512_AES_256
HPKE suite using ECDH P-521 for agreement, HKDF SHA-512 for key derivation, and AEAD AES-256-GCM for symmetric encryption.
DH_KEM_P521_HKDF_SHA512_CHACHA20_POLY1305
HPKE suite using ECDH P-521 for agreement, HKDF SHA-512 for key derivation, and AEAD CHACHA20-POLY-1305 for symmetric encryption.
DH_KEM_X25519_HKDF_SHA256_AES_128
HPKE suite using ECDH X25519 for agreement, HKDF SHA-256 for key derivation, and AEAD AES-128-GCM for symmetric encryption.
DH_KEM_X25519_HKDF_SHA256_AES_256
HPKE suite using ECDH X25519 for agreement, HKDF SHA-256 for key derivation, and AEAD AES-256-GCM for symmetric encryption.
DH_KEM_X25519_HKDF_SHA256_CHACHA20_POLY1305
HPKE suite using ECDH X25519 for agreement, HKDF SHA-256 for key derivation, and AEAD CHACHA20-POLY-1305 for symmetric encryption.