From: Herbert Xu Date: Wed, 6 Jul 2005 20:54:09 +0000 (-0700) Subject: [CRYPTO] Update IV correctly for Padlock CBC encryption X-Git-Tag: v2.6.13-rc3~312^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=476df259cd577e20379b02a7f7ffd086ea925a83;p=pandora-kernel.git [CRYPTO] Update IV correctly for Padlock CBC encryption When the Padlock does CBC encryption, the memory pointed to by EAX is not updated at all. Instead, it updates the value of EAX by pointing it to the last block in the output. Therefore to maintain the correct semantics we need to copy the IV. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed