aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac/cbc_mac/cbc_mac.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-12 23:29:55 +0000
committerlloyd <[email protected]>2010-10-12 23:29:55 +0000
commit2af9ba577730f071eef44b3ba492c3bfad0a8ec6 (patch)
tree92a4c4e973756225d42bb99a99110b2669be7299 /src/mac/cbc_mac/cbc_mac.h
parent97e8d6086171772cd5e45bcf2f5b1ea1e38e6bf5 (diff)
Use size_t for BufferedComputation::add_data
Diffstat (limited to 'src/mac/cbc_mac/cbc_mac.h')
-rw-r--r--src/mac/cbc_mac/cbc_mac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mac/cbc_mac/cbc_mac.h b/src/mac/cbc_mac/cbc_mac.h
index 772abd38f..69fef9c57 100644
--- a/src/mac/cbc_mac/cbc_mac.h
+++ b/src/mac/cbc_mac/cbc_mac.h
@@ -29,13 +29,13 @@ class BOTAN_DLL CBC_MAC : public MessageAuthenticationCode
CBC_MAC(BlockCipher* cipher);
~CBC_MAC();
private:
- void add_data(const byte[], u32bit);
+ void add_data(const byte[], size_t);
void final_result(byte[]);
void key_schedule(const byte[], u32bit);
BlockCipher* e;
SecureVector<byte> state;
- u32bit position;
+ size_t position;
};
}