aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/aes
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/aes')
-rw-r--r--src/block/aes/aes.cpp2
-rw-r--r--src/block/aes/aes.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/block/aes/aes.cpp b/src/block/aes/aes.cpp
index 24f1f6213..5e934a9f1 100644
--- a/src/block/aes/aes.cpp
+++ b/src/block/aes/aes.cpp
@@ -123,7 +123,7 @@ void AES::dec(const byte in[], byte out[]) const
/*************************************************
* AES Key Schedule *
*************************************************/
-void AES::key(const byte key[], u32bit length)
+void AES::key_schedule(const byte key[], u32bit length)
{
static const u32bit RC[10] = {
0x01000000, 0x02000000, 0x04000000, 0x08000000, 0x10000000, 0x20000000,
diff --git a/src/block/aes/aes.h b/src/block/aes/aes.h
index e287a303d..28728a666 100644
--- a/src/block/aes/aes.h
+++ b/src/block/aes/aes.h
@@ -24,7 +24,7 @@ class BOTAN_DLL AES : 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 u32bit S(u32bit);
static const byte SE[256];