Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 885 Bytes

File metadata and controls

23 lines (14 loc) · 885 Bytes

Variable: KEM_DHKEM_P384_HKDF_SHA384

const KEM_DHKEM_P384_HKDF_SHA384: KEMFactory

Diffie-Hellman Key Encapsulation Mechanism using NIST P-384 curve and HKDF-SHA384.

A Diffie-Hellman based KEM using the NIST P-384 elliptic curve (also known as secp384r1) with HKDF-SHA384 for key derivation.

Depends on the following Web Cryptography algorithms being supported in the runtime:

  • ECDH with P-384 curve
  • HMAC with SHA-384 (for HKDF)

This is a factory function that must be passed to the CipherSuite constructor.

Tip

An implementation of this algorithm not reliant on Web Cryptography is also exported by @panva/hpke-noble

See

HPKE KEM Identifiers