aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/camellia
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-04-20 00:28:47 +0000
committerlloyd <[email protected]>2012-04-20 00:28:47 +0000
commitc40782923f9974aa5bfdadd6d4b08ea79f9244f7 (patch)
treeaa5b1e05d4735f1d7dad83031d1c1c9c12bae59b /src/block/camellia
parent538804d54463fca05621990662f34a6251f0adf7 (diff)
Avoid a few maintainer mode flag warnings. Remove -Weffc++ from the
list of maintainer mode flags. It produces some very useful warnings, but also a lot of noisy junk that I really don't care about.
Diffstat (limited to 'src/block/camellia')
-rw-r--r--src/block/camellia/camellia.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/block/camellia/camellia.cpp b/src/block/camellia/camellia.cpp
index 054558c35..54c54e7d2 100644
--- a/src/block/camellia/camellia.cpp
+++ b/src/block/camellia/camellia.cpp
@@ -12,6 +12,8 @@ namespace Botan {
namespace Camellia_F {
+namespace {
+
u64bit F(u64bit v, u64bit K)
{
static const byte SBOX[256] = {
@@ -103,6 +105,8 @@ u64bit left_rot_lo(u64bit h, u64bit l, size_t shift)
}
+}
+
/*
* Camellia Encryption
*/