diff options
author | lloyd <[email protected]> | 2010-10-13 01:34:15 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 01:34:15 +0000 |
commit | fe4119c74b5e81a354a5313e4d2efbf9a135aa81 (patch) | |
tree | 5c5254cc3a4e5713169ef1d52a83db19c8c4ed65 /src/mac/cmac | |
parent | 60fb91d8cb1710d07041f76050d24229ce91131b (diff) |
Use size_t rather than u32bit in SymmetricAlgorithm
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; |