diff --git a/Cargo.lock b/Cargo.lock index 7e6af3a..3c16d57 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -68,6 +68,16 @@ dependencies = [ "generic-array", ] +[[package]] +name = "aead" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae06cea71059b6b79d879afcdd237a33ac61afc052fdd605815e6f3916254abf" +dependencies = [ + "crypto-common", + "generic-array", +] + [[package]] name = "aes" version = "0.7.0" @@ -75,8 +85,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99446914425f48a667458b33c7fb920e24cf9e7c149a072a9fc420731b353835" dependencies = [ "cfg-if 1.0.0", - "cipher", - "cpufeatures", + "cipher 0.3.0", + "cpufeatures 0.1.1", "opaque-debug", ] @@ -86,9 +96,9 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ee2263805ba4537ccbb19db28525a7b1ebc7284c228eb5634c3124ca63eb03f" dependencies = [ - "aead", + "aead 0.4.1", "aes", - "cipher", + "cipher 0.3.0", "ctr", "ghash", "subtle", @@ -212,25 +222,24 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chacha20" -version = "0.7.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fee7ad89dc1128635074c268ee661f90c3f7e83d9fd12910608c36b47d6c3412" +checksum = "c7fc89c7c5b9e7a02dfe45cd2367bae382f9ed31c61ca8debe5f827c420a2f08" dependencies = [ "cfg-if 1.0.0", - "cipher", - "cpufeatures", - "zeroize", + "cipher 0.4.3", + "cpufeatures 0.2.2", ] [[package]] name = "chacha20poly1305" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1580317203210c517b6d44794abfbe600698276db18127e37ad3e69bf5e848e5" +checksum = "f7d6e4974f4531e7674f7bde1fdda79802e5151e7a87580b7a282403f1648f75" dependencies = [ - "aead", + "aead 0.5.0", "chacha20", - "cipher", + "cipher 0.4.3", "poly1305", "zeroize", ] @@ -258,6 +267,17 @@ dependencies = [ "generic-array", ] +[[package]] +name = "cipher" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1873270f8f7942c191139cb8a40fd228da6c3fd2fc376d7e92d47aa14aeb59e" +dependencies = [ + "crypto-common", + "inout", + "zeroize", +] + [[package]] name = "cloudabi" version = "0.0.3" @@ -287,6 +307,26 @@ dependencies = [ "libc", ] +[[package]] +name = "cpufeatures" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b" +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", + "rand_core", + "typenum", +] + [[package]] name = "crypto-mac" version = "0.11.0" @@ -315,7 +355,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a232f92a03f37dd7d7dd2adc67166c77e9cd88de5b019b9a9eecfaeaf7bfd481" dependencies = [ - "cipher", + "cipher 0.3.0", ] [[package]] @@ -506,6 +546,15 @@ dependencies = [ "hashbrown", ] +[[package]] +name = "inout" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +dependencies = [ + "generic-array", +] + [[package]] name = "itertools" version = "0.9.0" @@ -694,13 +743,13 @@ checksum = "dc0e1f259c92177c30a4c9d177246edd0a3568b25756a977d0632cf8fa37e905" [[package]] name = "poly1305" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fe800695325da85083cd23b56826fccb2e2dc29b218e7811a6f33bc93f414be" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ - "cpufeatures", + "cpufeatures 0.2.2", "opaque-debug", - "universal-hash", + "universal-hash 0.5.0", ] [[package]] @@ -709,9 +758,9 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "864231b0b86ce05168a8e6da0fea2e67275dacf25f75b00a62cfd341aab904a9" dependencies = [ - "cpufeatures", + "cpufeatures 0.1.1", "opaque-debug", - "universal-hash", + "universal-hash 0.4.0", ] [[package]] @@ -897,7 +946,7 @@ name = "sear" version = "0.0.0" dependencies = [ "abscissa_core", - "aead", + "aead 0.4.1", "aes-gcm", "anomaly", "bytes", @@ -975,7 +1024,7 @@ checksum = "d8f6b75b17576b792bef0db1bcc4b8b8bcdf9506744cf34b974195487af6cff2" dependencies = [ "block-buffer", "cfg-if 1.0.0", - "cpufeatures", + "cpufeatures 0.1.1", "digest", "opaque-debug", ] @@ -1210,9 +1259,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "879f6906492a7cd215bfa4cf595b600146ccfac0c79bcbd1f3000162af5e8b06" +checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" [[package]] name = "unicode-segmentation" @@ -1236,6 +1285,16 @@ dependencies = [ "subtle", ] +[[package]] +name = "universal-hash" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d3160b73c9a19f7e2939a2fdad446c57c1bbbbf4d919d3213ff1267a580d8b5" +dependencies = [ + "crypto-common", + "subtle", +] + [[package]] name = "uuid" version = "0.8.2" @@ -1306,6 +1365,6 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "zeroize" -version = "1.3.0" +version = "1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" +checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f" diff --git a/Cargo.toml b/Cargo.toml index ca2ce79..2bd9804 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ aead = "0.4" aes-gcm = "0.9" anomaly = "0.2" bytes = "1" -chacha20poly1305 = "0.8" +chacha20poly1305 = "0.10" chrono = "0.4" cryptouri = "0.4" gumdrop = { version = "0.7", optional = true }