diff --git a/Cargo.toml b/Cargo.toml index ce508f0..35861b7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ hex = "0.4" hex-literal = "1.0" aes = "0.9" ctr = "0.10" -hmac = "0.12" +hmac = "0.13" md-5 = "0.11" rand = "0.10" anyhow = "1.0" diff --git a/src/crypto/wiiu.rs b/src/crypto/wiiu.rs index 78899ed..1e78eb8 100644 --- a/src/crypto/wiiu.rs +++ b/src/crypto/wiiu.rs @@ -1,6 +1,6 @@ use aes::Aes128; use ctr::cipher::{KeyIvInit, StreamCipher}; -use hmac::{Hmac, Mac}; +use hmac::{Hmac, KeyInit, Mac}; use sha2::Sha256; use md5::{Md5, Digest}; use rand::Rng;