summaryrefslogtreecommitdiffstatshomepage
path: root/aesxx/utils/decrypt_file.cpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-07-21 14:44:58 +0200
committerEgor Tensin <egor@tensin.name>2026-07-21 15:03:00 +0200
commit31b275f8c201570af8a22dfe8c5ceaa9624b638c (patch)
tree8e11af31ec04c7c91b512a548bf23a61bc752d8b /aesxx/utils/decrypt_file.cpp
parentaes: minor refactoring (diff)
downloadaes-tools-31b275f8c201570af8a22dfe8c5ceaa9624b638c.tar.gz
aes-tools-31b275f8c201570af8a22dfe8c5ceaa9624b638c.zip
blocks are the same for every variant
Diffstat (limited to 'aesxx/utils/decrypt_file.cpp')
-rw-r--r--aesxx/utils/decrypt_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/aesxx/utils/decrypt_file.cpp b/aesxx/utils/decrypt_file.cpp
index 4aa7d6b..6c915b5 100644
--- a/aesxx/utils/decrypt_file.cpp
+++ b/aesxx/utils/decrypt_file.cpp
@@ -37,7 +37,7 @@ void decrypt_file(const FileSettings& settings) {
if (settings.has_iv()) {
aes::Box::Block iv;
- aes::Box::parse_block(iv, algorithm, settings.get_iv());
+ aes::Box::parse_block(iv, settings.get_iv());
aes::Box box{algorithm, key, mode, iv};
decrypt_file(box, settings.get_input_path(), settings.get_output_path());