diff --git a/Cargo.lock b/Cargo.lock index d78da4b..cd94c1f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -38,7 +38,7 @@ dependencies = [ "aead", "aes", "cipher 0.4.4", - "ctr", + "ctr 0.9.2", "ghash", "subtle", ] @@ -340,6 +340,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e34d8227fe1ba289043aeb13792056ff80fd6de1a9f49137a5f499de8e8c78ea" dependencies = [ + "block-buffer 0.12.0", "crypto-common 0.2.1", "inout 0.2.2", ] @@ -546,7 +547,7 @@ dependencies = [ "criterion", "cryptoki", "ctap-hid-fido2", - "ctr", + "ctr 0.10.0", "flate2", "getrandom 0.4.1", "hex", @@ -635,6 +636,15 @@ dependencies = [ "cipher 0.4.4", ] +[[package]] +name = "ctr" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17469f8eb9bdbfad10f71f4cfddfd38b01143520c0e717d8796ccb4d44d44e42" +dependencies = [ + "cipher 0.5.1", +] + [[package]] name = "ctutils" version = "0.4.0" @@ -1321,7 +1331,7 @@ dependencies = [ "cipher 0.5.1", "criterion", "crypto_core", - "ctr", + "ctr 0.10.0", "getrandom 0.4.1", "hex", "hkdf 0.13.0", @@ -2458,7 +2468,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0136791f7c95b1f6dd99f9cc786b91bb81c3800b639b3478e561ddb7be95e5f1" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.1", "once_cell", "rustix", "windows-sys 0.61.2", diff --git a/crypto_core/Cargo.toml b/crypto_core/Cargo.toml index 81e3786..137ed47 100644 --- a/crypto_core/Cargo.toml +++ b/crypto_core/Cargo.toml @@ -31,7 +31,7 @@ aes-gcm = "0.10" aes = { version = "0.8", optional = true } # CTR mode for streaming encryption -ctr = { version = "0.9", optional = true } +ctr = { version = "0.10", optional = true } # Cipher traits (BlockEncrypt etc.) cipher = { version = "0.5", optional = true } diff --git a/rust_crypto/Cargo.toml b/rust_crypto/Cargo.toml index 4f444a4..b9bd94c 100644 --- a/rust_crypto/Cargo.toml +++ b/rust_crypto/Cargo.toml @@ -23,7 +23,7 @@ pyo3 = { version = "0.28.2", features = ["extension-module"], optional = true } argon2 = "0.5" # Argon2id KDF (password hashing) aes-gcm = "0.10" # AES-256-GCM AEAD encryption aes = "0.8" # AES block cipher (for CTR mode) -ctr = "0.9" # CTR mode for streaming encryption +ctr = "0.10" # CTR mode for streaming encryption cipher = "0.5" # Cipher traits hkdf = "0.13" # HKDF key derivation (RFC 5869) hmac = "0.13" # HMAC-SHA256 authentication