diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-03 20:47:15 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-03 20:47:15 +0300 |
commit | 786480850ac3d16c62ee2abfe410c4e00d16f70b (patch) | |
tree | 2026f57a1455381083c487730474b5d171f83ea4 /utils | |
parent | common.cmake: bugfix & refactoring (diff) | |
download | aes-tools-786480850ac3d16c62ee2abfe410c4e00d16f70b.tar.gz aes-tools-786480850ac3d16c62ee2abfe410c4e00d16f70b.zip |
code style
Diffstat (limited to 'utils')
-rw-r--r-- | utils/decrypt_block.cpp | 4 | ||||
-rw-r--r-- | utils/decrypt_bmp.cpp | 4 | ||||
-rw-r--r-- | utils/decrypt_file.cpp | 4 | ||||
-rw-r--r-- | utils/encrypt_block.cpp | 4 | ||||
-rw-r--r-- | utils/encrypt_bmp.cpp | 4 | ||||
-rw-r--r-- | utils/encrypt_file.cpp | 4 |
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); } } |