From 2d5d92cc7933a029c1b9c204135d2fb6a7fc2860 Mon Sep 17 00:00:00 2001 From: BloxerHD018 Date: Tue, 26 May 2026 15:18:45 +0100 Subject: [PATCH] Update Rust crate hmac to 0.13 --- Cargo.toml | 2 +- src/crypto/wiiu.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;