From 786480850ac3d16c62ee2abfe410c4e00d16f70b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 3 May 2017 20:47:15 +0300 Subject: code style --- utils/decrypt_block.cpp | 4 ++-- utils/decrypt_bmp.cpp | 4 ++-- utils/decrypt_file.cpp | 4 ++-- utils/encrypt_block.cpp | 4 ++-- utils/encrypt_bmp.cpp | 4 ++-- utils/encrypt_file.cpp | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'utils') 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); } } -- cgit v1.2.3