diff --git a/Cargo.lock b/Cargo.lock index c3285a4b..1943e933 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -33,7 +33,7 @@ dependencies = [ "aes", "cipher", "ctr", - "ghash", + "ghash 0.5.1", "subtle", ] @@ -448,12 +448,24 @@ dependencies = [ "hashbrown 0.16.1", ] +[[package]] +name = "cmov" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de0758edba32d61d1fd9f4d69491b47604b91ee2f7e6b33de7e54ca4ebe55dc3" + [[package]] name = "colorchoice" version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" +[[package]] +name = "cpubits" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ef0c543070d296ea414df2dd7625d1b24866ce206709d8a4a424f28377f5861" + [[package]] name = "cpufeatures" version = "0.2.17" @@ -565,6 +577,15 @@ dependencies = [ "cipher", ] +[[package]] +name = "ctutils" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1005a6d4446f5120ef475ad3d2af2b30c49c2c9c6904258e3bb30219bebed5e4" +dependencies = [ + "cmov", +] + [[package]] name = "curve25519-dalek" version = "4.1.3" @@ -804,7 +825,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" dependencies = [ "opaque-debug", - "polyval", + "polyval 0.6.2", +] + +[[package]] +name = "ghash" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2eecf2d5dc9b66b732b97707a0210906b1d30523eb773193ab777c0c84b3e8d5" +dependencies = [ + "polyval 0.7.1", ] [[package]] @@ -1132,7 +1162,7 @@ dependencies = [ "ctr", "digest 0.11.1", "generic-array", - "ghash", + "ghash 0.5.1", "hkdf", "rand 0.8.5", "rand_chacha 0.3.1", @@ -1158,7 +1188,7 @@ dependencies = [ "digest 0.11.1", "ed25519-dalek", "generic-array", - "ghash", + "ghash 0.6.0", "hex", "hex-literal", "hkdf", @@ -1298,7 +1328,7 @@ checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ "cpufeatures 0.2.17", "opaque-debug", - "universal-hash", + "universal-hash 0.5.1", ] [[package]] @@ -1310,7 +1340,18 @@ dependencies = [ "cfg-if", "cpufeatures 0.2.17", "opaque-debug", - "universal-hash", + "universal-hash 0.5.1", +] + +[[package]] +name = "polyval" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dfc63250416fea14f5749b90725916a6c903f599d51cb635aa7a52bfd03eede" +dependencies = [ + "cpubits", + "cpufeatures 0.3.0", + "universal-hash 0.6.1", ] [[package]] @@ -1760,6 +1801,16 @@ dependencies = [ "subtle", ] +[[package]] +name = "universal-hash" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4987bdc12753382e0bec4a65c50738ffaabc998b9cdd1f952fb5f39b0048a96" +dependencies = [ + "crypto-common 0.2.0", + "ctutils", +] + [[package]] name = "utf8parse" version = "0.2.2" diff --git a/mla/Cargo.toml b/mla/Cargo.toml index 2c862e93..b43968af 100644 --- a/mla/Cargo.toml +++ b/mla/Cargo.toml @@ -21,7 +21,7 @@ bitflags = { version = "2.11", default-features = false } # Crypto needs # Version fixed due to avoid conflict dependencies with `aes`, `aes-ctr` and `ghash` generic-array = { version = "0.14", default-features = false} -ghash = { version = "0.5", default-features = false} +ghash = { version = "0.6", default-features = false} aes = { version = "0.8", default-features = false} ctr = { version = "0.9", default-features = false} subtle = { version = "2.6", default-features = false}