diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-01-05 20:42:30 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-05 20:42:30 +0530 |
| commit | c74eb7a889322e88173cb044a670602d124fcc67 (patch) | |
| tree | b5502919639a3f1b6285e8c44dcb4e0465d530f1 /Cargo.lock | |
| parent | 9778545048a9908f62c24b93ae3ec0762e3db2d9 (diff) | |
feat(ext/crypto): implement AES-GCM encryption (#13119)
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index f67a8e098..b164192a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,6 +25,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] +name = "aead" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" +dependencies = [ + "generic-array", +] + +[[package]] name = "aes" version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -37,6 +46,20 @@ dependencies = [ ] [[package]] +name = "aes-gcm" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df5f85a83a7d8b0442b6aa7b504b8212c1733da07b98aae43d4bc21b2cb3cdf6" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] name = "ahash" version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -791,6 +814,7 @@ name = "deno_crypto" version = "0.44.0" dependencies = [ "aes", + "aes-gcm", "base64 0.13.0", "block-modes", "ctr", @@ -1615,6 +1639,16 @@ dependencies = [ ] [[package]] +name = "ghash" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] name = "glow" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2692,6 +2726,18 @@ dependencies = [ ] [[package]] +name = "polyval" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" +dependencies = [ + "cfg-if 1.0.0", + "cpufeatures", + "opaque-debug", + "universal-hash", +] + +[[package]] name = "ppv-lite86" version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -4560,6 +4606,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" [[package]] +name = "universal-hash" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" +dependencies = [ + "generic-array", + "subtle", +] + +[[package]] name = "unreachable" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" |
