From 5b307fecdd1119047ec23f6a6e2232cf439e401d Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Wed, 23 Aug 2023 04:10:05 -0400 Subject: [PATCH] Bump aes-gcm and chacha20poly1305 --- Cargo.toml | 4 ++-- src/resolvers/default.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 899b0a3..85f3a54 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,8 +41,8 @@ rand_core = { version = "0.6", features = ["std", "getrandom"] } subtle = "2.4" # default crypto provider -aes-gcm = { version = "0.9", optional = true } -chacha20poly1305 = { version = "0.9", optional = true } +aes-gcm = { version = "0.10", optional = true } +chacha20poly1305 = { version = "0.10", optional = true } blake2 = { version = "0.10", optional = true } sha2 = { version = "0.10", optional = true } curve25519-dalek = { version = "4", optional = true } diff --git a/src/resolvers/default.rs b/src/resolvers/default.rs index 7bc8555..e47f9f2 100644 --- a/src/resolvers/default.rs +++ b/src/resolvers/default.rs @@ -2,8 +2,8 @@ use blake2::{Blake2b, Blake2b512, Blake2s, Blake2s256}; #[cfg(feature = "xchachapoly")] use chacha20poly1305::XChaCha20Poly1305; use chacha20poly1305::{ - aead::{AeadInPlace, NewAead}, - ChaCha20Poly1305, + aead::AeadInPlace, + KeyInit, ChaCha20Poly1305, }; use curve25519_dalek::montgomery::MontgomeryPoint; #[cfg(feature = "pqclean_kyber1024")]