<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Sorry wrong list. <br>
All those *swan derived branches fooled me. <br>
<div class="moz-forward-container"><br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
</th>
<td>IV for openssl cyphers</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
<td>Tue, 25 Feb 2014 18:02:29 +0400</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
<td>Alexander Sbitnev <a class="moz-txt-link-rfc2396E" href="mailto:alexander.sbitnev@gmail.com"><alexander.sbitnev@gmail.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:dev@lists.openswan.org">dev@lists.openswan.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre> Just played a little bit with openssl plugin (added gost cypher from
openssl) and stumble on some strange detail inside it.
Inside openssl_crypter.c there is get_iv_size function and it use
block_size of cypher as return value for IV len:
METHOD(crypter_t, get_iv_size, size_t,
private_openssl_crypter_t *this)
{
return this->cipher->block_size;
}
Shouldn't it be like this?
return this->cipher->iv_len;
I suppose for current imported cyphers from openssl "block_size" and
"iv_len" possible matching one each other, but this maybe wrong in a
general way.
Sorry if I am wrong here. My cryptology knowledge is very limited.
</pre>
<br>
</div>
<br>
</body>
</html>