diff options
author | lloyd <[email protected]> | 2008-11-09 15:57:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-09 15:57:31 +0000 |
commit | a02b8a6dcebfa285e42a6a7010735dfdf7b47ac0 (patch) | |
tree | 57899ab98328aea62d6d665a38638e112697ff5a /src/block/xtea | |
parent | c604f94ec71cb520580c6fcf9257560bb7c053c5 (diff) |
Rename SymmetricAlgorithm::key to key_schedule to avoid many name
conflicts/collisions
Diffstat (limited to 'src/block/xtea')
-rw-r--r-- | src/block/xtea/xtea.cpp | 2 | ||||
-rw-r--r-- | src/block/xtea/xtea.h | 2 |
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; }; |