aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--utils/decrypt_block.cpp4
-rw-r--r--utils/decrypt_bmp.cpp4
-rw-r--r--utils/decrypt_file.cpp4
-rw-r--r--utils/encrypt_block.cpp4
-rw-r--r--utils/encrypt_bmp.cpp4
-rw-r--r--utils/encrypt_file.cpp4
6 files changed, 12 insertions, 12 deletions
diff --git a/utils/decrypt_block.cpp b/utils/decrypt_block.cpp
index 8c388c1..9e53d2b 100644
--- a/utils/decrypt_block.cpp
+++ b/utils/decrypt_block.cpp
@@ -148,13 +148,13 @@ namespace
{
aes::Box::Block iv;
aes::Box::parse_block(iv, algorithm, input.get_iv_string());
- aes::Box box{ algorithm, key, mode, iv };
+ aes::Box box{algorithm, key, mode, iv};
decrypt_using_particular_box(box, input.get_input_block_strings());
}
else
{
- aes::Box box{ algorithm, key };
+ aes::Box box{algorithm, key};
decrypt_using_particular_box(box, input.get_input_block_strings());
}
}
diff --git a/utils/decrypt_bmp.cpp b/utils/decrypt_bmp.cpp
index 1d287d2..17a64dd 100644
--- a/utils/decrypt_bmp.cpp
+++ b/utils/decrypt_bmp.cpp
@@ -46,13 +46,13 @@ namespace
{
aes::Box::Block iv;
aes::Box::parse_block(iv, algorithm, settings.get_iv_string());
- aes::Box box{ algorithm, key, mode, iv };
+ aes::Box box{algorithm, key, mode, iv};
decrypt_bmp(box, ciphertext_path, plaintext_path);
}
else
{
- aes::Box box{ algorithm, key };
+ aes::Box box{algorithm, key};
decrypt_bmp(box, ciphertext_path, plaintext_path);
}
}
diff --git a/utils/decrypt_file.cpp b/utils/decrypt_file.cpp
index 3bbbb06..75f8fb8 100644
--- a/utils/decrypt_file.cpp
+++ b/utils/decrypt_file.cpp
@@ -43,13 +43,13 @@ namespace
{
aes::Box::Block iv;
aes::Box::parse_block(iv, algorithm, settings.get_iv_string());
- aes::Box box{ algorithm, key, mode, iv };
+ aes::Box box{algorithm, key, mode, iv};
decrypt_file(box, ciphertext_path, plaintext_path);
}
else
{
- aes::Box box{ algorithm, key };
+ aes::Box box{algorithm, key};
decrypt_file(box, ciphertext_path, plaintext_path);
}
}
diff --git a/utils/encrypt_block.cpp b/utils/encrypt_block.cpp
index b51d59c..714dab7 100644
--- a/utils/encrypt_block.cpp
+++ b/utils/encrypt_block.cpp
@@ -148,13 +148,13 @@ namespace
{
aes::Box::Block iv;
aes::Box::parse_block(iv, algorithm, input.get_iv_string());
- aes::Box box{ algorithm, key, mode, iv };
+ aes::Box box{algorithm, key, mode, iv};
encrypt_using_particular_box(box, input.get_input_block_strings());
}
else
{
- aes::Box box{ algorithm, key };
+ aes::Box box{algorithm, key};
encrypt_using_particular_box(box, input.get_input_block_strings());
}
}
diff --git a/utils/encrypt_bmp.cpp b/utils/encrypt_bmp.cpp
index c28dbf2..ac6cb92 100644
--- a/utils/encrypt_bmp.cpp
+++ b/utils/encrypt_bmp.cpp
@@ -44,13 +44,13 @@ namespace
{
aes::Box::Block iv;
aes::Box::parse_block(iv, algorithm, settings.get_iv_string());
- aes::Box box{ algorithm, key, mode, iv };
+ aes::Box box{algorithm, key, mode, iv};
encrypt_bmp(box, plaintext_path, ciphertext_path);
}
else
{
- aes::Box box{ algorithm, key };
+ aes::Box box{algorithm, key};
encrypt_bmp(box, plaintext_path, ciphertext_path);
}
}
diff --git a/utils/encrypt_file.cpp b/utils/encrypt_file.cpp
index 721b735..9a4ee5c 100644
--- a/utils/encrypt_file.cpp
+++ b/utils/encrypt_file.cpp
@@ -43,13 +43,13 @@ namespace
{
aes::Box::Block iv;
aes::Box::parse_block(iv, algorithm, settings.get_iv_string());
- aes::Box box{ algorithm, key, mode, iv };
+ aes::Box box{algorithm, key, mode, iv};
encrypt_file(box, plaintext_path, ciphertext_path);
}
else
{
- aes::Box box{ algorithm, key };
+ aes::Box box{algorithm, key};
encrypt_file(box, plaintext_path, ciphertext_path);
}
}