Skip to content

Implement Concrete Hybrid PQ/T Key Encapsulation Mechanisms #33

@panva

Description

@panva

https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-concrete-hybrid-kems-02

MLKEM768-X25519 is identical to the existing XWing export ✅

MLKEM1024-P384 and MLKEM768-P256 IIUC cannot be constructed from the @noble/post-quantum/hybrid.js, the delta from the way the XWing export is constructed (aside from labels) is

  • that it'd need public keys uncompressed, the ecdhKem export is using compressed ec key representation
  • that it's RandomScalar is implemented using rejection sampling from a seed

Test vectors: https://github.com/cfrg/draft-irtf-cfrg-concrete-hybrid-kems/blob/main/test-vectors.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions