aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/xtea
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/xtea')
-rw-r--r--src/block/xtea/xtea.cpp2
-rw-r--r--src/block/xtea/xtea.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/block/xtea/xtea.cpp b/src/block/xtea/xtea.cpp
index db5c7effc..d13173f02 100644
--- a/src/block/xtea/xtea.cpp
+++ b/src/block/xtea/xtea.cpp
@@ -44,7 +44,7 @@ void XTEA::dec(const byte in[], byte out[]) const
/*************************************************
* XTEA Key Schedule *
*************************************************/
-void XTEA::key(const byte key[], u32bit)
+void XTEA::key_schedule(const byte key[], u32bit)
{
static const u32bit DELTAS[64] = {
0x00000000, 0x9E3779B9, 0x9E3779B9, 0x3C6EF372, 0x3C6EF372, 0xDAA66D2B,
diff --git a/src/block/xtea/xtea.h b/src/block/xtea/xtea.h
index 03b41f683..630da4064 100644
--- a/src/block/xtea/xtea.h
+++ b/src/block/xtea/xtea.h
@@ -23,7 +23,7 @@ class BOTAN_DLL XTEA : 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);
SecureBuffer<u32bit, 64> EK;
};