[Openswan dev] IV for openssl cyphers
alexander.sbitnev at gmail.com
Thu Feb 27 03:12:43 EST 2014
Sorry wrong list.
All those *swan derived branches fooled me.
-------- Original Message --------
Subject: IV for openssl cyphers
Date: Tue, 25 Feb 2014 18:02:29 +0400
From: Alexander Sbitnev <alexander.sbitnev at gmail.com>
To: dev at lists.openswan.org
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,
Shouldn't it be like this?
I suppose for current imported cyphers from openssl "block_size" and
"iv_len" possible matching one each other, but this maybe wrong in a
Sorry if I am wrong here. My cryptology knowledge is very limited.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dev