From 2ec5e65aa54ce47af2877c5666beedb2a9b04014 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Fri, 26 Dec 2025 11:25:37 -0700 Subject: [PATCH] kem v0.4.0-rc.0 Also cuts a crypto-common v0.2.0-rc.7 --- Cargo.lock | 4 ++-- aead/Cargo.toml | 2 +- cipher/Cargo.toml | 2 +- crypto-common/Cargo.toml | 2 +- crypto/Cargo.toml | 2 +- digest/Cargo.toml | 2 +- kem/Cargo.toml | 10 +++++++--- kem/src/lib.rs | 2 +- universal-hash/Cargo.toml | 2 +- 9 files changed, 16 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eed10ecd0..897ae2270 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -150,7 +150,7 @@ dependencies = [ [[package]] name = "crypto-common" -version = "0.2.0-rc.6" +version = "0.2.0-rc.7" dependencies = [ "getrandom", "hybrid-array", @@ -268,7 +268,7 @@ dependencies = [ [[package]] name = "kem" -version = "0.4.0-pre.2" +version = "0.4.0-rc.0" dependencies = [ "crypto-common", "rand_core", diff --git a/aead/Cargo.toml b/aead/Cargo.toml index b8995e8c8..b35e9161b 100644 --- a/aead/Cargo.toml +++ b/aead/Cargo.toml @@ -16,7 +16,7 @@ such as AES-GCM as ChaCha20Poly1305, which provide a high-level API """ [dependencies] -crypto-common = { version = "0.2.0-rc.6", path = "../crypto-common" } +crypto-common = { version = "0.2.0-rc.7", path = "../crypto-common" } inout = "0.2" # optional dependencies diff --git a/cipher/Cargo.toml b/cipher/Cargo.toml index 2d62887d0..4783ba11a 100644 --- a/cipher/Cargo.toml +++ b/cipher/Cargo.toml @@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"] description = "Traits for describing block ciphers and stream ciphers" [dependencies] -crypto-common = { version = "0.2.0-rc.5", path = "../crypto-common" } +crypto-common = { version = "0.2.0-rc.7", path = "../crypto-common" } inout = "0.2" # optional dependencies diff --git a/crypto-common/Cargo.toml b/crypto-common/Cargo.toml index 38edb1dff..706ccfed7 100644 --- a/crypto-common/Cargo.toml +++ b/crypto-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "crypto-common" -version = "0.2.0-rc.6" +version = "0.2.0-rc.7" authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" diff --git a/crypto/Cargo.toml b/crypto/Cargo.toml index 54b0c55b3..18099c37b 100644 --- a/crypto/Cargo.toml +++ b/crypto/Cargo.toml @@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"] description = "Facade crate for all of the RustCrypto traits (e.g. `aead`, `cipher`, `digest`)" [dependencies] -crypto-common = { version = "0.2.0-rc.5", path = "../crypto-common", default-features = false } +crypto-common = { version = "0.2.0-rc.7", path = "../crypto-common", default-features = false } # optional dependencies aead = { version = "0.6.0-rc.3", path = "../aead", optional = true } diff --git a/digest/Cargo.toml b/digest/Cargo.toml index 20bdfcfc2..c67e76168 100644 --- a/digest/Cargo.toml +++ b/digest/Cargo.toml @@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"] description = "Traits for cryptographic hash functions and message authentication codes" [dependencies] -crypto-common = { version = "0.2.0-rc.5", path = "../crypto-common" } +crypto-common = { version = "0.2.0-rc.7", path = "../crypto-common" } # optional dependencies block-buffer = { version = "0.11", optional = true } diff --git a/kem/Cargo.toml b/kem/Cargo.toml index 16fba569e..5df7f5344 100644 --- a/kem/Cargo.toml +++ b/kem/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kem" -version = "0.4.0-pre.2" +version = "0.4.0-rc.0" authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" @@ -10,10 +10,14 @@ repository = "https://github.com/RustCrypto/traits" license = "Apache-2.0 OR MIT" keywords = ["crypto"] categories = ["cryptography", "no-std"] -description = "Traits for key encapsulation mechanisms" +description = """ +Traits for Key Encapsulation Mechanisms (KEMs): public-key cryptosystems designed to enable a sender +(a.k.a. encapsulator) to generate and encrypt a short secret key and transmit it to a receiver +(a.k.a. decapsulator) confidentially +""" [dependencies] -crypto-common = { version = "0.2.0-rc.6", features = ["rand_core"], path = "../crypto-common" } +crypto-common = { version = "0.2.0-rc.7", features = ["rand_core"], path = "../crypto-common" } rand_core = "0.10.0-rc-3" [features] diff --git a/kem/src/lib.rs b/kem/src/lib.rs index 7dd6f83bb..c7090f557 100644 --- a/kem/src/lib.rs +++ b/kem/src/lib.rs @@ -1,6 +1,6 @@ -#![doc = include_str!("../README.md")] #![no_std] #![cfg_attr(docsrs, feature(doc_cfg))] +#![doc = include_str!("../README.md")] #![doc( html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg", html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg" diff --git a/universal-hash/Cargo.toml b/universal-hash/Cargo.toml index f3e755553..1660967ee 100644 --- a/universal-hash/Cargo.toml +++ b/universal-hash/Cargo.toml @@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"] description = "Traits which describe the functionality of universal hash functions (UHFs)" [dependencies] -crypto-common = { version = "0.2.0-rc.5", path = "../crypto-common" } +crypto-common = { version = "0.2.0-rc.7", path = "../crypto-common" } subtle = { version = "2.4", default-features = false } [package.metadata.docs.rs]