From e0dfb5691e059fd4740040ef11fa58f0d0e1e5aa Mon Sep 17 00:00:00 2001 From: ashWhiteHat Date: Wed, 31 Jul 2024 17:19:49 +0900 Subject: [PATCH] rc6: dump cipher version --- Cargo.lock | 93 +++++++++++++------------------------------------- rc6/Cargo.toml | 4 +-- 2 files changed, 25 insertions(+), 72 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 235a7f0d..990445d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7,7 +7,7 @@ name = "aes" version = "0.9.0-pre.1" dependencies = [ "cfg-if", - "cipher 0.5.0-pre.6", + "cipher", "cpufeatures", "hex-literal", "zeroize", @@ -17,7 +17,7 @@ dependencies = [ name = "aria" version = "0.2.0-pre" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", "hex-literal", ] @@ -25,7 +25,7 @@ dependencies = [ name = "belt-block" version = "0.2.0-pre.1" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", "hex-literal", ] @@ -40,7 +40,7 @@ name = "blowfish" version = "0.10.0-pre.1" dependencies = [ "byteorder", - "cipher 0.5.0-pre.6", + "cipher", ] [[package]] @@ -54,14 +54,14 @@ name = "camellia" version = "0.2.0-pre" dependencies = [ "byteorder", - "cipher 0.5.0-pre.6", + "cipher", ] [[package]] name = "cast5" version = "0.12.0-pre" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", "hex-literal", ] @@ -69,7 +69,7 @@ dependencies = [ name = "cast6" version = "0.2.0-pre" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", "hex-literal", ] @@ -79,18 +79,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "blobby", - "crypto-common 0.1.6", - "inout 0.1.3", - "zeroize", -] - [[package]] name = "cipher" version = "0.5.0-pre.6" @@ -98,8 +86,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c71c893d5a1e8257048dbb29954d2e1f85f091a150304f1defe4ca2806da5d3f" dependencies = [ "blobby", - "crypto-common 0.2.0-rc.0", - "inout 0.2.0-rc.0", + "crypto-common", + "inout", "zeroize", ] @@ -112,16 +100,6 @@ dependencies = [ "libc", ] -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - [[package]] name = "crypto-common" version = "0.2.0-rc.0" @@ -135,17 +113,7 @@ dependencies = [ name = "des" version = "0.9.0-pre.1" dependencies = [ - "cipher 0.5.0-pre.6", -] - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", + "cipher", ] [[package]] @@ -163,7 +131,7 @@ dependencies = [ name = "gift-cipher" version = "0.0.0" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", ] [[package]] @@ -185,16 +153,7 @@ dependencies = [ name = "idea" version = "0.6.0-pre" dependencies = [ - "cipher 0.5.0-pre.6", -] - -[[package]] -name = "inout" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" -dependencies = [ - "generic-array", + "cipher", ] [[package]] @@ -210,7 +169,7 @@ dependencies = [ name = "kuznyechik" version = "0.9.0-pre.1" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", "hex-literal", ] @@ -224,7 +183,7 @@ checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" name = "magma" version = "0.10.0-pre.1" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", "hex-literal", ] @@ -290,21 +249,21 @@ dependencies = [ name = "rc2" version = "0.9.0-pre" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", ] [[package]] name = "rc5" version = "0.1.0-pre" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", ] [[package]] name = "rc6" version = "0.1.0" dependencies = [ - "cipher 0.4.4", + "cipher", "rand", ] @@ -313,14 +272,14 @@ name = "serpent" version = "0.6.0-pre" dependencies = [ "byteorder", - "cipher 0.5.0-pre.6", + "cipher", ] [[package]] name = "sm4" version = "0.6.0-pre" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", "hex-literal", ] @@ -328,7 +287,7 @@ dependencies = [ name = "speck-cipher" version = "0.0.0" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", "hex-literal", ] @@ -347,7 +306,7 @@ dependencies = [ name = "threefish" version = "0.6.0-pre" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", "hex-literal", "zeroize", ] @@ -356,7 +315,7 @@ dependencies = [ name = "twofish" version = "0.8.0-pre" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", "hex-literal", ] @@ -372,12 +331,6 @@ version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -388,7 +341,7 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" name = "xtea" version = "0.0.0" dependencies = [ - "cipher 0.5.0-pre.6", + "cipher", ] [[package]] diff --git a/rc6/Cargo.toml b/rc6/Cargo.toml index 17b91e8e..15678496 100644 --- a/rc6/Cargo.toml +++ b/rc6/Cargo.toml @@ -11,10 +11,10 @@ keywords = ["crypto", "rc6", "block-cipher"] categories = ["cryptography"] [dependencies] -cipher = { version = "0.4.3", features = ["zeroize"] } +cipher = { version = "0.5.0-pre.6", features = ["zeroize"] } [dev-dependencies] -cipher = { version = "0.4.3", features = ["dev"] } +cipher = { version = "0.5.0-pre.6", features = ["dev"] } rand = { version = "0.8.5" } [features]