aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/blowfish
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/blowfish')
-rw-r--r--src/block/blowfish/blowfish.cpp2
-rw-r--r--src/block/blowfish/blowfish.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/block/blowfish/blowfish.cpp b/src/block/blowfish/blowfish.cpp
index ffca9241f..f55cffb62 100644
--- a/src/block/blowfish/blowfish.cpp
+++ b/src/block/blowfish/blowfish.cpp
@@ -69,7 +69,7 @@ void Blowfish::dec(const byte in[], byte out[]) const
/*************************************************
* Blowfish Key Schedule *
*************************************************/
-void Blowfish::key(const byte key[], u32bit length)
+void Blowfish::key_schedule(const byte key[], u32bit length)
{
clear();
diff --git a/src/block/blowfish/blowfish.h b/src/block/blowfish/blowfish.h
index 16f5239e3..c4ef16683 100644
--- a/src/block/blowfish/blowfish.h
+++ b/src/block/blowfish/blowfish.h
@@ -23,7 +23,7 @@ class BOTAN_DLL Blowfish : 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);
void generate_sbox(u32bit[], u32bit, u32bit&, u32bit&) const;
static const u32bit P_INIT[18];