aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index 3576aa1..28f8504 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -8,6 +8,11 @@ pub enum Error {
source: block_modes::InvalidKeyIvLength,
},
+ #[error("failed to create block mode decryptor")]
+ CreateHmac {
+ source: hmac::crypto_mac::InvalidKeyLength,
+ },
+
#[error("failed to create directory at {}", .file.display())]
CreateDirectory {
source: std::io::Error,