MCPcopy Index your code
hub / github.com/RustCrypto/KEMs

github.com/RustCrypto/KEMs @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
561 symbols 1,054 edges 56 files 139 documented · 25% updated 6d ago★ 9911 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Expanded (Interface)
Trait for implementing equivalents to Algorithm 7 and 8 in the [spec](https://frodokem.org/files/FrodoKEM-specification- [6 …
frodo-kem/src/hazmat/traits.rs
Encode (Interface)
Encoding trait. [4 implementers]
module-lattice/src/encoding.rs
Sealed (Interface)
Sealed trait preventing external implementations of [`HqcParams`](super::HqcParams). [3 implementers]
hqc-kem/src/params.rs
ParameterSet (Interface)
A `ParameterSet` captures the parameters that describe a particular instance of ML-KEM. There are three variants, corre [3 …
ml-kem/src/param.rs
EncapsulateDeterministic (Interface)
A helper trait for deterministic encapsulation tests [3 implementers]
ml-kem/tests/encap-decap.rs
Repeat (Interface)
A helper trait to construct larger arrays by repeating smaller ones [1 implementers]
module-lattice/tests/encode.rs
Params (Interface)
The base FrodoKEM parameters for either eFrodo or Frodo [8 implementers]
frodo-kem/src/hazmat/traits.rs
ArraySize (Interface)
An array length with other useful properties [1 implementers]
module-lattice/src/encoding.rs

Core symbols most depended-on inside this repo

const_ntt
called by 33
ml-kem/src/algebra.rs
as_bytes
called by 26
x-wing/src/lib.rs
gf_mul
called by 25
hqc-kem/src/gf256.rs
algorithm
called by 24
frodo-kem/src/lib.rs
generate_keypair
called by 22
frodo-kem/src/lib.rs
zeroize
called by 18
hqc-kem/src/types.rs
generate_key
called by 15
hqc-kem/src/lib.rs
encapsulate_with_rng
called by 15
frodo-kem/src/lib.rs

Shape

Function 229
Method 219
Class 82
Interface 24
Enum 7

Languages

Rust100%

Modules by API surface

frodo-kem/src/hazmat/models.rs48 symbols
module-lattice/tests/algebra.rs41 symbols
frodo-kem/src/lib.rs39 symbols
x-wing/src/lib.rs28 symbols
ml-kem/src/algebra.rs26 symbols
module-lattice/tests/encode.rs25 symbols
frodo-kem/src/hazmat/traits.rs20 symbols
hqc-kem/src/types.rs19 symbols
ml-kem/src/pke.rs17 symbols
module-lattice/src/algebra.rs16 symbols
ml-kem/src/decapsulation_key.rs16 symbols
ml-kem/tests/encap-decap.rs14 symbols

For agents

$ claude mcp add KEMs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page