From 81b8ad19e246d31a26a639decdd43347aec5336d Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Sun, 8 Dec 2024 10:47:03 -0500 Subject: [PATCH] Use new version of hybrid-array --- Cargo.lock | 27 ++++++++++----------------- ml-dsa/Cargo.toml | 3 +-- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5c950d61..9d706eef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -280,7 +280,7 @@ version = "0.6.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e43027691f1c055da3da4f7d96af09fcec420d435d5616e51f29afd0811c56a7" dependencies = [ - "hybrid-array 0.2.0-rc.11", + "hybrid-array", "num-traits", "rand_core", "subtle", @@ -304,7 +304,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b0b8ce8218c97789f16356e7896b3714f26c2ee1079b79c0b7ae7064bb9089fa" dependencies = [ "getrandom", - "hybrid-array 0.2.0-rc.11", + "hybrid-array", "rand_core", ] @@ -427,7 +427,7 @@ dependencies = [ "ff", "group", "hex-literal", - "hybrid-array 0.2.0-rc.11", + "hybrid-array", "pem-rfc7468", "pkcs8", "rand_core", @@ -553,28 +553,21 @@ dependencies = [ [[package]] name = "hybrid-array" -version = "0.2.0-rc.11" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5a41e5b0754cae5aaf7915f1df1147ba8d316fc6e019cfcc00fbaba96d5e030" +checksum = "f2d35805454dc9f8662a98d6d61886ffe26bd465f5960e0e55345c70d5c0d2a9" dependencies = [ "typenum", "zeroize", ] -[[package]] -name = "hybrid-array" -version = "0.2.2" -dependencies = [ - "typenum", -] - [[package]] name = "inout" version = "0.2.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "161ac07241f4d11c21b6d82f1fef1c05aec030c0bf568b35281efe453ea450a7" dependencies = [ - "hybrid-array 0.2.0-rc.11", + "hybrid-array", ] [[package]] @@ -664,7 +657,7 @@ dependencies = [ "digest 0.11.0-pre.9", "hex", "hex-literal", - "hybrid-array 0.2.0-rc.11", + "hybrid-array", "rand", "rand_core", "sha2", @@ -693,7 +686,7 @@ dependencies = [ "criterion", "hex", "hex-literal", - "hybrid-array 0.2.2", + "hybrid-array", "num-traits", "rand", "serde", @@ -1052,7 +1045,7 @@ checksum = "ce9453a41af5251f8439173d21b0ed2ae5d4a7c411abb76661806a44811a9d2c" dependencies = [ "base16ct", "der", - "hybrid-array 0.2.0-rc.11", + "hybrid-array", "pkcs8", "serdect", "subtle", @@ -1174,7 +1167,7 @@ dependencies = [ "hex", "hex-literal", "hmac", - "hybrid-array 0.2.0-rc.11", + "hybrid-array", "num-bigint", "paste", "proptest", diff --git a/ml-dsa/Cargo.toml b/ml-dsa/Cargo.toml index d13cde88..6953ad67 100644 --- a/ml-dsa/Cargo.toml +++ b/ml-dsa/Cargo.toml @@ -21,8 +21,7 @@ zeroize = ["dep:zeroize"] rand_core = ["signature/rand_core"] [dependencies] -# TODO reset to something like: { version = "0.2.0-rc.9", features = ["extra-sizes"] } -hybrid-array = { path = "../../hybrid-array/", features = ["extra-sizes"]} +hybrid-array = { version = "0.2.3", features = ["extra-sizes"]} num-traits = "0.2.19" rand = "0.8.5" sha3 = "0.10.8"