diff options
Diffstat (limited to 'src/block/tea')
-rw-r--r-- | src/block/tea/tea.cpp | 2 | ||||
-rw-r--r-- | src/block/tea/tea.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/block/tea/tea.cpp b/src/block/tea/tea.cpp index c5bd1b1fa..7b79d86d1 100644 --- a/src/block/tea/tea.cpp +++ b/src/block/tea/tea.cpp @@ -47,7 +47,7 @@ void TEA::dec(const byte in[], byte out[]) const /************************************************* * TEA Key Schedule * *************************************************/ -void TEA::key(const byte key[], u32bit) +void TEA::key_schedule(const byte key[], u32bit) { for(u32bit j = 0; j != 4; ++j) K[j] = load_be<u32bit>(key, j); diff --git a/src/block/tea/tea.h b/src/block/tea/tea.h index 71d4e02f9..b751eda4e 100644 --- a/src/block/tea/tea.h +++ b/src/block/tea/tea.h @@ -23,7 +23,7 @@ class BOTAN_DLL TEA : 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, 4> K; }; |