Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dhkem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.85.0
msrv: 1.87.0

minimal-versions:
# temporarily disabled as requested by Tony (https://github.com/RustCrypto/KEMs/pull/15#pullrequestreview-2006378802)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frodo-kem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.85.0
msrv: 1.87.0

build:
needs: set-msrv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hqc-kem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.85.0
msrv: 1.87.0

minimal-versions:
if: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ml-kem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.85.0
msrv: 1.87.0

minimal-versions:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/module-lattice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.85.0
msrv: 1.87.0

minimal-versions:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sntrup-kem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.85.0
msrv: 1.87.0

minimal-versions:
if: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/x-wing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.85.0
msrv: 1.87.0

minimal-versions:
# temporarily disabled as requested by Tony (https://github.com/RustCrypto/KEMs/pull/15#pullrequestreview-2006378802)
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dhkem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ Diffie Hellman (ECDH) protocols
"""
version = "0.1.0"
edition = "2024"
rust-version = "1.85"
rust-version = "1.87"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/KEMs/tree/master/dhkem"
categories = ["cryptography"]
keywords = ["crypto", "ecdh", "ecc"]
readme = "README.md"

[dependencies]
ctutils = "0.4"
ctutils = "0.4.5"
hkdf = "0.13"
kem = "0.3"
rand_core = "0.10"
Expand Down
2 changes: 1 addition & 1 deletion dhkem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ dual licensed as above, without any additional terms or conditions.
[build-image]: https://github.com/RustCrypto/KEMs/actions/workflows/dhkem.yml/badge.svg
[build-link]: https://github.com/RustCrypto/KEMs/actions/workflows/dhkem.yml
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.87+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/406484-KEMs

Expand Down
4 changes: 2 additions & 2 deletions frodo-kem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exclude = ["tests/**", "bench/**", "examples/**", ".github/**"]
license = "Apache-2.0 OR MIT"
readme = "README.md"
edition = "2024"
rust-version = "1.85"
rust-version = "1.87"

[features]
default = [
Expand Down Expand Up @@ -58,7 +58,7 @@ std = []

[dependencies]
aes = { version = "0.9", optional = true }
ctutils = "0.4"
ctutils = "0.4.5"
hex = { version = "0.4", optional = true }
hybrid-array = { version = "0.4.13", features = ["extra-sizes"] }
kem = "0.3"
Expand Down
22 changes: 15 additions & 7 deletions frodo-kem/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# [RustCrypto] Frodo-KEM
# [RustCrypto]: Frodo-KEM

[![Crate][crate-image]][crate-link]
[![crate][crate-image]][crate-link]
[![Docs][docs-image]][docs-link]
![Build](https://github.com/RustCrypto/KEMs/actions/workflows/frodo-kem.yml/badge.svg)
[![Build Status][build-image]][build-link]
![Apache2/MIT licensed][license-image]
![MSRV][msrv-image]
![Rust Version][rustc-image]
[![Project Chat][chat-image]][chat-link]

A pure Rust implementation of FrodoKEM and eFrodoKEM as specified in
[ISO/IEC 18033-2:2006/Amd 2:2026][iso-standard].
Expand Down Expand Up @@ -128,12 +129,19 @@ conditions.

[//]: # (badges)

[RustCrypto]: https://github.com/rustcrypto
[crate-image]: https://img.shields.io/crates/v/frodo-kem.svg?logo=rust
[crate-image]: https://img.shields.io/crates/v/frodo-kem?logo=rust
[crate-link]: https://crates.io/crates/frodo-kem
[docs-image]: https://docs.rs/frodo-kem/badge.svg
[docs-link]: https://docs.rs/frodo-kem/
[build-image]: https://github.com/RustCrypto/KEMs/actions/workflows/frodo-kem.yml/badge.svg
[build-link]: https://github.com/RustCrypto/KEMs/actions/workflows/frodo-kem.yml
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[msrv-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.87+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/406484-KEMs

[//]: # (links)

[RustCrypto]: https://github.com/rustcrypto
[iso-standard]: https://www.iso.org/standard/86890.html
[reference-kats]: https://github.com/microsoft/PQCrypto-LWEKE/tree/7a4e7219d06305e16aef734213001cd8fefbcc14
2 changes: 1 addition & 1 deletion hqc-kem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const-oid = { version = "0.10", optional = true }
hybrid-array = { version = "0.4.10", optional = true, features = ["extra-sizes"] }
kem_traits = { package = "kem", version = "0.3", optional = true }
pkcs8 = { version = "0.11", optional = true, default-features = false }
ctutils = { version = "0.4", default-features = false }
ctutils = { version = "0.4.5", default-features = false }
rand = { version = "0.10", default-features = false }
sha3 = { version = "0.12", default-features = false }
shake = { version = "0.1", default-features = false }
Expand Down
26 changes: 22 additions & 4 deletions hqc-kem/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# hqc-kem

[![crate][crate-image]][crate-link]
[![Docs][docs-image]][docs-link]
[![Build Status][build-image]][build-link]
![Apache2/MIT licensed][license-image]
![Rust Version][rustc-image]
[![Project Chat][chat-image]][chat-link]

Pure Rust implementation of **HQC-KEM** (Hamming Quasi-Cyclic Key Encapsulation Mechanism), a post-quantum KEM based on quasi-cyclic codes over the ring Z_2[X]/(X^n-1).

HQC uses concatenated Reed-Solomon + Reed-Muller error correction with the Fujisaki-Okamoto transform for IND-CCA2 security. It's currently selected as the backup approved KEM to ML-KEM.
## About

[![Crates.io](https://img.shields.io/crates/v/hqc-kem.svg)](https://crates.io/crates/hqc-kem)
[![Documentation](https://docs.rs/hqc-kem/badge.svg)](https://docs.rs/hqc-kem)
[![License](https://img.shields.io/crates/l/hqc-kem.svg)](https://github.com/mikelodder7/hqc-kem)
HQC uses concatenated Reed-Solomon + Reed-Muller error correction with the Fujisaki-Okamoto transform for IND-CCA2 security. It's currently selected as the backup approved KEM to ML-KEM.

## References

Expand Down Expand Up @@ -208,3 +213,16 @@ Licensed under either of:
- [MIT License](http://opensource.org/licenses/MIT)

at your option.

[//]: # (badges)

[crate-image]: https://img.shields.io/crates/v/hqc-kem?logo=rust
[crate-link]: https://crates.io/crates/hqc-kem
[docs-image]: https://docs.rs/hqc-kem/badge.svg
[docs-link]: https://docs.rs/hqc-kem/
[build-image]: https://github.com/RustCrypto/KEMs/actions/workflows/hqc-kem.yml/badge.svg
[build-link]: https://github.com/RustCrypto/KEMs/actions/workflows/hqc-kem.yml
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.87+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/406484-KEMs
2 changes: 1 addition & 1 deletion ml-kem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Pure Rust implementation of the Module-Lattice-Based Key-Encapsulation Mechanism
"""
version = "0.3.3"
edition = "2024"
rust-version = "1.85"
rust-version = "1.87"
license = "Apache-2.0 OR MIT"
readme = "README.md"
homepage = "https://github.com/RustCrypto/KEMs/tree/master/ml-kem"
Expand Down
2 changes: 1 addition & 1 deletion ml-kem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ dual licensed as above, without any additional terms or conditions.
[build-image]: https://github.com/RustCrypto/KEMs/actions/workflows/ml-kem.yml/badge.svg
[build-link]: https://github.com/RustCrypto/KEMs/actions/workflows/ml-kem.yml
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.87+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/406484-KEMs

Expand Down
4 changes: 2 additions & 2 deletions module-lattice/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and vectors, as well as packing of polynomials into coefficients with a specifie
"""
version = "0.2.3"
edition = "2024"
rust-version = "1.85"
rust-version = "1.87"
license = "Apache-2.0 OR MIT"
readme = "README.md"
homepage = "https://github.com/RustCrypto/KEMs/tree/master/module-lattice"
Expand All @@ -20,7 +20,7 @@ array = { version = "0.4.8", package = "hybrid-array", features = ["extra-sizes"
num-traits = { version = "0.2", default-features = false }

# optional dependencies
ctutils = { version = "0.4", optional = true }
ctutils = { version = "0.4.5", optional = true }
zeroize = { version = "1.8.1", optional = true, default-features = false }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion module-lattice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ dual licensed as above, without any additional terms or conditions.
[build-image]: https://github.com/RustCrypto/KEMs/actions/workflows/module-lattice.yml/badge.svg
[build-link]: https://github.com/RustCrypto/KEMs/actions/workflows/module-lattice.yml
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.87+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/406484-KEMs
[hazmat-image]: https://img.shields.io/badge/crypto-hazmat%E2%9A%A0-red.svg
Expand Down
3 changes: 2 additions & 1 deletion sntrup-kem/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sntrup-kem"
version = "0.1.0"
version = "0.0.0"
authors = ["Michael Lodder <redmike7@gmail.com>"]
license = "MIT OR Apache-2.0"
keywords = ["sntrup", "kem", "post-quantum", "cryptography", "NTRU"]
Expand All @@ -10,6 +10,7 @@ repository = "https://github.com/RustCrypto/KEMs"
categories = ["algorithms", "cryptography"]
readme = "README.md"
edition = "2024"
rust-version = "1.87"

[package.metadata.docs.rs]
features = ["kem", "serde"]
Expand Down
2 changes: 1 addition & 1 deletion sntrup-kem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,4 @@ conditions.
[docs-link]: https://docs.rs/sntrup-kem/
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[downloads-image]: https://img.shields.io/crates/d/sntrup-kem.svg
[msrv-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
[msrv-image]: https://img.shields.io/badge/rustc-1.87+-blue.svg
2 changes: 1 addition & 1 deletion x-wing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "x-wing"
description = "Pure Rust implementation of the X-Wing Key Encapsulation Mechanism (draft 06)"
version = "0.1.1"
edition = "2024"
rust-version = "1.85"
rust-version = "1.87"
license = "Apache-2.0 OR MIT"
readme = "README.md"
homepage = "https://github.com/RustCrypto/KEMs/tree/master/x-wing"
Expand Down
Loading