From bb078fd01e6568982044e0f846029b9670f7f6df Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 27 Jul 2017 23:45:04 +0200 Subject: code style --- utils/block_dumper.hpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'utils/block_dumper.hpp') diff --git a/utils/block_dumper.hpp b/utils/block_dumper.hpp index 00f75f1..a07d855 100644 --- a/utils/block_dumper.hpp +++ b/utils/block_dumper.hpp @@ -46,7 +46,9 @@ void dump_iv(const typename aes::Types::Block& iv) } template -void dump_round_keys(const char* header, const typename aes::Types::RoundKeys& round_keys) +void dump_round_keys( + const char* header, + const typename aes::Types::RoundKeys& round_keys) { std::cout << header << ":\n"; for (std::size_t i = 0; i < aes::get_number_of_rounds(); ++i) @@ -78,22 +80,26 @@ void dump_wrapper(const aes::DecryptWrapper& wrapper) dump_decryption_keys(wrapper.decryption_keys); } -template ::value>::type* = nullptr> +template ::value>::type* = nullptr> void dump_next_iv(const aes::EncryptWrapper& wrapper) { dump_block("Next initialization vector", wrapper.iv); } -template ::value>::type* = nullptr> +template ::value>::type* = nullptr> void dump_next_iv(const aes::EncryptWrapper&) { } -template ::value>::type* = nullptr> +template ::value>::type* = nullptr> void dump_next_iv(const aes::DecryptWrapper& wrapper) { dump_block("Next initialization vector", wrapper.iv); } -template ::value>::type* = nullptr> +template ::value>::type* = nullptr> void dump_next_iv(const aes::DecryptWrapper&) { } -- cgit v1.2.3