diff --git a/Cargo.lock b/Cargo.lock index 39487af04..52ab3030f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17,6 +17,14 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +[[package]] +name = "aead" +version = "0.6.0-pre.0" +source = "git+https://github.com/RustCrypto/traits.git#0a3687b58e59d5d2e196f59ca883a2d46eb76abb" +dependencies = [ + "crypto-common", +] + [[package]] name = "aes" version = "0.9.0-pre" @@ -28,6 +36,19 @@ dependencies = [ "cpufeatures", ] +[[package]] +name = "aes-gcm" +version = "0.11.0-pre" +source = "git+https://github.com/RustCrypto/AEADs.git#ad109f38b03124e7498bfe5e9830d1328f811d27" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + [[package]] name = "aho-corasick" version = "1.1.2" @@ -467,6 +488,14 @@ dependencies = [ "rand_core", ] +[[package]] +name = "ctr" +version = "0.10.0-pre" +source = "git+https://github.com/RustCrypto/block-modes.git#a0051b2892626f4bd4f96c8ec7ca942a1047bb3c" +dependencies = [ + "cipher", +] + [[package]] name = "der" version = "0.8.0-pre.0" @@ -722,6 +751,16 @@ dependencies = [ "wasi", ] +[[package]] +name = "ghash" +version = "0.6.0-pre.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43f25097bbd647ae1fdd2fd6bcf100b77c5151e26af9cc2d2e81742c2cac27b7" +dependencies = [ + "opaque-debug", + "polyval", +] + [[package]] name = "gimli" version = "0.28.1" @@ -855,9 +894,9 @@ dependencies = [ [[package]] name = "lazy_static" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" dependencies = [ "spin", ] @@ -964,6 +1003,12 @@ version = "11.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + [[package]] name = "p256" version = "0.14.0-pre.0" @@ -1054,6 +1099,7 @@ name = "pkcs5" version = "0.8.0-pre.0" dependencies = [ "aes", + "aes-gcm", "cbc", "der", "des", @@ -1079,6 +1125,18 @@ dependencies = [ "tempfile", ] +[[package]] +name = "polyval" +version = "0.7.0-pre.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f3e1736974839c02569293a43b332c95269ccf635391bb7bbc75b41bef249b4" +dependencies = [ + "cfg-if", + "cpufeatures", + "opaque-debug", + "universal-hash", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -1543,9 +1601,9 @@ checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" [[package]] name = "spin" -version = "0.5.2" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" [[package]] name = "spki" @@ -1776,6 +1834,16 @@ version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +[[package]] +name = "universal-hash" +version = "0.6.0-pre.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a05336f34009f6bb1c24794e2c04df87f4a0ced7a091692e395119f34fd3f4c5" +dependencies = [ + "crypto-common", + "subtle", +] + [[package]] name = "utf8parse" version = "0.2.1" diff --git a/x509-ocsp/Cargo.toml b/x509-ocsp/Cargo.toml index dd062c856..2161f9e61 100644 --- a/x509-ocsp/Cargo.toml +++ b/x509-ocsp/Cargo.toml @@ -28,7 +28,7 @@ signature = { version = "=2.3.0-pre.3", optional = true, default-features = fals [dev-dependencies] hex-literal = "0.4.1" -lazy_static = "1.4.0" +lazy_static = "1.5.0" rand = "0.8.5" rsa = { version = "=0.10.0-pre.1", default-features = false, features = ["sha2"] } sha1 = { version = "=0.11.0-pre.3", default-features = false, features = ["oid"] }