diff options
| author | Egor Tensin <egor@tensin.name> | 2026-07-21 14:44:58 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-07-21 15:03:00 +0200 |
| commit | 31b275f8c201570af8a22dfe8c5ceaa9624b638c (patch) | |
| tree | 8e11af31ec04c7c91b512a548bf23a61bc752d8b /aesxx/utils/encrypt_file.cpp | |
| parent | aes: minor refactoring (diff) | |
| download | aes-tools-31b275f8c201570af8a22dfe8c5ceaa9624b638c.tar.gz aes-tools-31b275f8c201570af8a22dfe8c5ceaa9624b638c.zip | |
blocks are the same for every variant
Diffstat (limited to 'aesxx/utils/encrypt_file.cpp')
| -rw-r--r-- | aesxx/utils/encrypt_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aesxx/utils/encrypt_file.cpp b/aesxx/utils/encrypt_file.cpp index d2d0e51..1b7217c 100644 --- a/aesxx/utils/encrypt_file.cpp +++ b/aesxx/utils/encrypt_file.cpp @@ -37,7 +37,7 @@ void encrypt_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}; encrypt_file(box, settings.get_input_path(), settings.get_output_path()); |
