aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manual
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-08-10 17:59:35 -0400
committerJack Lloyd <[email protected]>2018-08-10 17:59:35 -0400
commit1d7bde1fc8725a5b8aa39cf9cc6b452dc38421af (patch)
treef7c7fb210151302cc6d7ebf59db0586f7d451d4b /doc/manual
parentd39a070103bd734d5ed65d5e70e628a4a3a4a179 (diff)
Correct documentation [ci skip]
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/stream_ciphers.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/manual/stream_ciphers.rst b/doc/manual/stream_ciphers.rst
index 2fdfb9bb7..0eaaa7716 100644
--- a/doc/manual/stream_ciphers.rst
+++ b/doc/manual/stream_ciphers.rst
@@ -50,11 +50,11 @@ vector.
the stream cipher. Some ciphers do not support IVs at all, and will return
false for any value except zero.
- .. cpp:function:: size_t valid_iv_length() const
+ .. cpp:function:: size_t default_iv_length() const
- Returns some default IV size, normally the largest IV supported by the
- cipher. If this function returns zero, then IVs are not supported any any
- call to ``set_iv`` will fail.
+ Returns some default IV size, normally the largest IV supported by the cipher.
+ If this function returns zero, then IVs are not supported and any call to
+ ``set_iv`` with a non-empty value will fail.
.. cpp:function:: void set_iv(const uint8_t*, size_t len)