aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/misty1
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-09 15:57:31 +0000
committerlloyd <[email protected]>2008-11-09 15:57:31 +0000
commita02b8a6dcebfa285e42a6a7010735dfdf7b47ac0 (patch)
tree57899ab98328aea62d6d665a38638e112697ff5a /src/block/misty1
parentc604f94ec71cb520580c6fcf9257560bb7c053c5 (diff)
Rename SymmetricAlgorithm::key to key_schedule to avoid many name
conflicts/collisions
Diffstat (limited to 'src/block/misty1')
-rw-r--r--src/block/misty1/misty1.cpp2
-rw-r--r--src/block/misty1/misty1.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/block/misty1/misty1.cpp b/src/block/misty1/misty1.cpp
index 523d11c84..234cf8e72 100644
--- a/src/block/misty1/misty1.cpp
+++ b/src/block/misty1/misty1.cpp
@@ -116,7 +116,7 @@ void MISTY1::dec(const byte in[], byte out[]) const
/*************************************************
* MISTY1 Key Schedule *
*************************************************/
-void MISTY1::key(const byte key[], u32bit length)
+void MISTY1::key_schedule(const byte key[], u32bit length)
{
SecureBuffer<u16bit, 32> KS;
for(u32bit j = 0; j != length / 2; ++j)
diff --git a/src/block/misty1/misty1.h b/src/block/misty1/misty1.h
index 0bd3ca1e4..2092b7e91 100644
--- a/src/block/misty1/misty1.h
+++ b/src/block/misty1/misty1.h
@@ -23,7 +23,7 @@ class BOTAN_DLL MISTY1 : public BlockCipher
private:
void enc(const byte[], byte[]) const;
void dec(const byte[], byte[]) const;
- void key(const byte[], u32bit);
+ void key_schedule(const byte[], u32bit);
static const byte EK_ORDER[100];
static const byte DK_ORDER[100];