aboutsummaryrefslogtreecommitdiffstats
path: root/src/block
diff options
context:
space:
mode:
Diffstat (limited to 'src/block')
-rw-r--r--src/block/idea/idea.h4
-rw-r--r--src/block/noekeon/noekeon.h4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/block/idea/idea.h b/src/block/idea/idea.h
index be1417a36..e9ccf366d 100644
--- a/src/block/idea/idea.h
+++ b/src/block/idea/idea.h
@@ -26,8 +26,10 @@ class BOTAN_DLL IDEA : public BlockCipher
BlockCipher* clone() const { return new IDEA; }
IDEA() : BlockCipher(8, 16) {}
- protected:
+ private:
void key_schedule(const byte[], u32bit);
+
+ protected: // for IDEA_SSE2
SecureVector<u16bit, 52> EK, DK;
};
diff --git a/src/block/noekeon/noekeon.h b/src/block/noekeon/noekeon.h
index 5b04a135d..f1175f529 100644
--- a/src/block/noekeon/noekeon.h
+++ b/src/block/noekeon/noekeon.h
@@ -26,9 +26,9 @@ class BOTAN_DLL Noekeon : public BlockCipher
BlockCipher* clone() const { return new Noekeon; }
Noekeon() : BlockCipher(16, 16) {}
- protected:
+ private:
void key_schedule(const byte[], u32bit);
-
+ protected: // for access by SIMD subclass
static const byte RC[17];
SecureVector<u32bit, 4> EK, DK;