diff --git a/crates/lox-library/Cargo.toml b/crates/lox-library/Cargo.toml index 539d649..24aedd0 100644 --- a/crates/lox-library/Cargo.toml +++ b/crates/lox-library/Cargo.toml @@ -22,7 +22,7 @@ sha2 = "0.9" statistical = "1.0.0" lazy_static = "1" hex_fmt = "0.3" -aes-gcm = "0.10" +aes-gcm = { version = "0.10", features =["aes"]} base64 = "0.21" time = "0.3.28" subtle = "2.5" diff --git a/crates/lox-library/src/bridge_table.rs b/crates/lox-library/src/bridge_table.rs index 434d2f5..0353d53 100644 --- a/crates/lox-library/src/bridge_table.rs +++ b/crates/lox-library/src/bridge_table.rs @@ -11,8 +11,8 @@ use super::cred; use super::IssuerPrivKey; use super::CMZ_B_TABLE; use aes_gcm::aead; -use aes_gcm::aead::{generic_array::GenericArray, Aead, NewAead}; -use aes_gcm::Aes128Gcm; +use aes_gcm::aead::{Aead, generic_array::GenericArray}; +use aes_gcm::{Aes128Gcm, KeyInit}; use base64::{engine::general_purpose, Engine as _}; use curve25519_dalek::ristretto::CompressedRistretto; use curve25519_dalek::ristretto::RistrettoBasepointTable; diff --git a/crates/lox-library/src/migration_table.rs b/crates/lox-library/src/migration_table.rs index 5697b00..bc34ea0 100644 --- a/crates/lox-library/src/migration_table.rs +++ b/crates/lox-library/src/migration_table.rs @@ -16,8 +16,8 @@ use curve25519_dalek::scalar::Scalar; use sha2::Digest; use sha2::Sha256; -use aes_gcm::aead::{generic_array::GenericArray, Aead, NewAead}; -use aes_gcm::Aes128Gcm; +use aes_gcm::aead::{Aead, generic_array::GenericArray}; +use aes_gcm::{Aes128Gcm, KeyInit}; use rand::RngCore; use std::collections::HashMap;