aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream/stream_cipher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/stream_cipher.cpp')
-rw-r--r--src/stream/stream_cipher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/stream_cipher.cpp b/src/stream/stream_cipher.cpp
index 9ae548a9e..7dbd3e2e3 100644
--- a/src/stream/stream_cipher.cpp
+++ b/src/stream/stream_cipher.cpp
@@ -9,14 +9,14 @@
namespace Botan {
-void StreamCipher::set_iv(const byte[], u32bit iv_len)
+void StreamCipher::set_iv(const byte[], size_t iv_len)
{
if(iv_len)
throw Invalid_Argument("The stream cipher " + name() +
" does not support resyncronization");
}
-bool StreamCipher::valid_iv_length(u32bit iv_len) const
+bool StreamCipher::valid_iv_length(size_t iv_len) const
{
return (iv_len == 0);
}