Re: [PATCH] [crypto] Geode: Copy the IV back in case of an fallback.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Herbert Xu | 2007-12-08 09:46:41 [+0800]:

>On Fri, Dec 07, 2007 at 07:24:05PM +0100, Sebastian Siewior wrote:
>> Jan pointed this out to me and fixed it in the fallback code for s390
>> and now I remembered that this could also be fixed here :)
>> 
>> Signed-off-by: Sebastian Siewior <sebastian@xxxxxxxxxxxxx>
>
>No, the default IV is put into desc->info by the system.
>
>I see where the problem is though.  We should never call the
>functions crypto_blkcipher_encrypt/decrypt, it should always be
>crypto_blkcipher_encrypt_iv/crypto_blkcipher_decrypt_iv.
>
>Please make a patch to get the fallback to do that.
Haven't seen that function before. Patch is on the way.

>Thanks,
Sebastian
-
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux