diff --git a/Cargo.lock b/Cargo.lock index 7ca92de..c563d55 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,14 +4,14 @@ version = 3 [[package]] name = "aead" -version = "0.4.3" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" dependencies = [ "blobby", + "crypto-common", "generic-array", "heapless", - "rand_core", ] [[package]] @@ -96,6 +96,16 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7059fff8937831a9ae6f0fe4d658ffabf58f2ca96aa9dec1c889f936f705f216" +[[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 = "ctr" version = "0.8.0" @@ -115,17 +125,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "getrandom" -version = "0.2.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - [[package]] name = "hash32" version = "0.2.1" @@ -181,15 +180,6 @@ dependencies = [ "universal-hash", ] -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom", -] - [[package]] name = "rustc_version" version = "0.4.0" @@ -254,12 +244,6 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - [[package]] name = "zeroize" version = "1.4.3" diff --git a/Cargo.toml b/Cargo.toml index 03902ef..30d639e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ with optional architecture-specific hardware acceleration. """ [dependencies] -aead = { version = "0.4", default-features = false } +aead = { version = "0.5", default-features = false } aes = { version = "0.7", features = ["ctr"] } cipher = "0.3" poly1305 = "0.7" @@ -23,7 +23,7 @@ subtle = { version = ">=2, <2.5", default-features = false } zeroize = { version = ">=1, <1.5", default-features = false } [dev-dependencies] -aead = { version = "0.4", features = ["dev"], default-features = false } +aead = { version = "0.5", features = ["dev"], default-features = false } [features] default = ["alloc"]