aboutsummaryrefslogtreecommitdiffstats
path: root/src/constructs/cryptobox/cryptobox.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-18 17:35:11 +0000
committerlloyd <[email protected]>2010-10-18 17:35:11 +0000
commit1c68b5c2e6b70693b42f417733599cd51d578b4d (patch)
tree87d27e59d4b9b8b5348b0ea4e7d3457b8169b8ff /src/constructs/cryptobox/cryptobox.h
parent2420a7b38f2107e6671bd53ccd66a320f791c6d7 (diff)
s/u32bit/size_t/
Diffstat (limited to 'src/constructs/cryptobox/cryptobox.h')
-rw-r--r--src/constructs/cryptobox/cryptobox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/constructs/cryptobox/cryptobox.h b/src/constructs/cryptobox/cryptobox.h
index 12f054eff..ce1bb9ab0 100644
--- a/src/constructs/cryptobox/cryptobox.h
+++ b/src/constructs/cryptobox/cryptobox.h
@@ -25,7 +25,7 @@ namespace CryptoBox {
* @param passphrase the passphrase used to encrypt the message
* @param rng a ref to a random number generator, such as AutoSeeded_RNG
*/
-BOTAN_DLL std::string encrypt(const byte input[], u32bit input_len,
+BOTAN_DLL std::string encrypt(const byte input[], size_t input_len,
const std::string& passphrase,
RandomNumberGenerator& rng);
@@ -35,7 +35,7 @@ BOTAN_DLL std::string encrypt(const byte input[], u32bit input_len,
* @param input_len the length of input in bytes
* @param passphrase the passphrase used to encrypt the message
*/
-BOTAN_DLL std::string decrypt(const byte input[], u32bit input_len,
+BOTAN_DLL std::string decrypt(const byte input[], size_t input_len,
const std::string& passphrase);
/**