aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac/cmac
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-09 15:57:31 +0000
committerlloyd <[email protected]>2008-11-09 15:57:31 +0000
commita02b8a6dcebfa285e42a6a7010735dfdf7b47ac0 (patch)
tree57899ab98328aea62d6d665a38638e112697ff5a /src/mac/cmac
parentc604f94ec71cb520580c6fcf9257560bb7c053c5 (diff)
Rename SymmetricAlgorithm::key to key_schedule to avoid many name
conflicts/collisions
Diffstat (limited to 'src/mac/cmac')
-rw-r--r--src/mac/cmac/cmac.cpp2
-rw-r--r--src/mac/cmac/cmac.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mac/cmac/cmac.cpp b/src/mac/cmac/cmac.cpp
index 937c15c63..bd3f174c1 100644
--- a/src/mac/cmac/cmac.cpp
+++ b/src/mac/cmac/cmac.cpp
@@ -87,7 +87,7 @@ void CMAC::final_result(byte mac[])
/*************************************************
* CMAC Key Schedule *
*************************************************/
-void CMAC::key(const byte key[], u32bit length)
+void CMAC::key_schedule(const byte key[], u32bit length)
{
clear();
e->set_key(key, length);
diff --git a/src/mac/cmac/cmac.h b/src/mac/cmac/cmac.h
index 66eb46a69..9f745ee22 100644
--- a/src/mac/cmac/cmac.h
+++ b/src/mac/cmac/cmac.h
@@ -29,7 +29,7 @@ class BOTAN_DLL CMAC : public MessageAuthenticationCode
private:
void add_data(const byte[], u32bit);
void final_result(byte[]);
- void key(const byte[], u32bit);
+ void key_schedule(const byte[], u32bit);
BlockCipher* e;
SecureVector<byte> buffer, state, B, P;