diff options
Diffstat (limited to 'src/block/cast')
-rw-r--r-- | src/block/cast/cast128.cpp | 2 | ||||
-rw-r--r-- | src/block/cast/cast128.h | 2 | ||||
-rw-r--r-- | src/block/cast/cast256.cpp | 2 | ||||
-rw-r--r-- | src/block/cast/cast256.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/block/cast/cast128.cpp b/src/block/cast/cast128.cpp index 14e5c9e9d..6a6b46efd 100644 --- a/src/block/cast/cast128.cpp +++ b/src/block/cast/cast128.cpp @@ -102,7 +102,7 @@ void CAST_128::dec(const byte in[], byte out[]) const /************************************************* * CAST-128 Key Schedule * *************************************************/ -void CAST_128::key(const byte key[], u32bit length) +void CAST_128::key_schedule(const byte key[], u32bit length) { clear(); SecureBuffer<u32bit, 4> X; diff --git a/src/block/cast/cast128.h b/src/block/cast/cast128.h index b9d02cd7a..2004de51a 100644 --- a/src/block/cast/cast128.h +++ b/src/block/cast/cast128.h @@ -23,7 +23,7 @@ class BOTAN_DLL CAST_128 : 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 void key_schedule(u32bit[16], u32bit[4]); diff --git a/src/block/cast/cast256.cpp b/src/block/cast/cast256.cpp index 24d3e0078..b8004851b 100644 --- a/src/block/cast/cast256.cpp +++ b/src/block/cast/cast256.cpp @@ -122,7 +122,7 @@ void CAST_256::dec(const byte in[], byte out[]) const /************************************************* * CAST-256 Key Schedule * *************************************************/ -void CAST_256::key(const byte key[], u32bit length) +void CAST_256::key_schedule(const byte key[], u32bit length) { SecureBuffer<u32bit, 8> TMP; for(u32bit j = 0; j != length; ++j) diff --git a/src/block/cast/cast256.h b/src/block/cast/cast256.h index cf0bcc953..e80208ad4 100644 --- a/src/block/cast/cast256.h +++ b/src/block/cast/cast256.h @@ -23,7 +23,7 @@ class BOTAN_DLL CAST_256 : 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 u32bit KEY_MASK[192]; static const byte KEY_ROT[32]; |