Patch mcrypt_get_iv_size for mcrypt related Bug #53532
Patch version 2010-12-13 01:05 UTC
Return to Bug #53532 |
Download this patch
Patch Revisions:
Developer: x1v4nx@googlemail.com
--- mcrypt-get-iv-size.xml 2010-03-29 03:55:16.000000000 -0400
+++ mcrypt-get-iv-size.xml.new 2010-12-11 18:42:10.000000000 -0500
@@ -32,7 +32,7 @@
<term><parameter>cipher</parameter></term>
<listitem>
<para>
- One of the <literal>MCRYPT_ciphername</literal> constants of the name
+ One of the <literal>MCRYPT_ciphername</literal> constants or the name
of the algorithm as string.
</para>
</listitem>
@@ -41,7 +41,7 @@
<term><parameter>mode</parameter></term>
<listitem>
<para>
- <parameter>mode</parameter> is one of the MCRYPT_MODE_modename constants
+ <parameter>mode</parameter> is one of the <literal>MCRYPT_MODE_modename</literal> constants
or one of "ecb", "cbc", "cfb", "ofb", "nofb" or "stream". The IV is
ignored in ECB mode as this mode does not require it. You will need to
have the same IV (think: starting point) both at encryption and
@@ -56,7 +56,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns the size of the Initialisation Vector (IV) in bytes. On error the
+ Returns the size of the Initialization Vector (IV) in bytes. On error the
function returns &false;. If the IV is ignored in the specified cipher/mode
combination zero is returned.
</para>
|