diff options
Diffstat (limited to 'src/mac/cmac')
-rw-r--r-- | src/mac/cmac/cmac.cpp | 2 | ||||
-rw-r--r-- | src/mac/cmac/cmac.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mac/cmac/cmac.cpp b/src/mac/cmac/cmac.cpp index 05fa7d037..05f487ad1 100644 --- a/src/mac/cmac/cmac.cpp +++ b/src/mac/cmac/cmac.cpp @@ -89,7 +89,7 @@ void CMAC::final_result(byte mac[]) /* * CMAC Key Schedule */ -void CMAC::key_schedule(const byte key[], u32bit length) +void CMAC::key_schedule(const byte key[], size_t length) { clear(); e->set_key(key, length); diff --git a/src/mac/cmac/cmac.h b/src/mac/cmac/cmac.h index 5655e1eea..ac929eaf3 100644 --- a/src/mac/cmac/cmac.h +++ b/src/mac/cmac/cmac.h @@ -39,7 +39,7 @@ class BOTAN_DLL CMAC : public MessageAuthenticationCode private: void add_data(const byte[], size_t); void final_result(byte[]); - void key_schedule(const byte[], u32bit); + void key_schedule(const byte[], size_t); BlockCipher* e; SecureVector<byte> buffer, state, B, P; |