aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-01 15:34:34 +0000
committerlloyd <[email protected]>2008-10-01 15:34:34 +0000
commitaaf7a6e172deab17dfffe442b896ccfc178b7318 (patch)
tree63d12450509b718c544a2420b70ef3b9b18bccaf /checks
parent92ddf6f0f8f0ef6f5584889481e4a098e280ee40 (diff)
Line wrap at 80 columns
Diffstat (limited to 'checks')
-rw-r--r--checks/check.cpp4
-rw-r--r--checks/dolook2.cpp12
2 files changed, 11 insertions, 5 deletions
diff --git a/checks/check.cpp b/checks/check.cpp
index ccae49713..f440302f0 100644
--- a/checks/check.cpp
+++ b/checks/check.cpp
@@ -122,7 +122,9 @@ int main(int argc, char* argv[])
{
run_test_suite();
}
- if(opts.is_set("bench-algo") || opts.is_set("benchmark") || opts.is_set("bench-type"))
+ if(opts.is_set("bench-algo") ||
+ opts.is_set("benchmark") ||
+ opts.is_set("bench-type"))
{
double seconds = 5;
diff --git a/checks/dolook2.cpp b/checks/dolook2.cpp
index 13b14a114..71549ef51 100644
--- a/checks/dolook2.cpp
+++ b/checks/dolook2.cpp
@@ -121,13 +121,17 @@ Filter* lookup_rng(const std::string& algname,
#if defined(BOTAN_HAS_X931_RNG)
if(algname == "X9.31-RNG(TripleDES)")
- prng = new ANSI_X931_RNG(get_block_cipher("TripleDES"), new Fixed_Output_RNG(decode_hex(key)));
+ prng = new ANSI_X931_RNG(get_block_cipher("TripleDES"),
+ new Fixed_Output_RNG(decode_hex(key)));
else if(algname == "X9.31-RNG(AES-128)")
- prng = new ANSI_X931_RNG(get_block_cipher("AES-128"), new Fixed_Output_RNG(decode_hex(key)));
+ prng = new ANSI_X931_RNG(get_block_cipher("AES-128"),
+ new Fixed_Output_RNG(decode_hex(key)));
else if(algname == "X9.31-RNG(AES-192)")
- prng = new ANSI_X931_RNG(get_block_cipher("AES-192"), new Fixed_Output_RNG(decode_hex(key)));
+ prng = new ANSI_X931_RNG(get_block_cipher("AES-192"),
+ new Fixed_Output_RNG(decode_hex(key)));
else if(algname == "X9.31-RNG(AES-256)")
- prng = new ANSI_X931_RNG(get_block_cipher("AES-256"), new Fixed_Output_RNG(decode_hex(key)));
+ prng = new ANSI_X931_RNG(get_block_cipher("AES-256"),
+ new Fixed_Output_RNG(decode_hex(key)));
#endif
#if defined(BOTAN_HAS_X931_RNG) and defined(BOTAN_HAS_RANDPOOL)