From: Harald Freudenberger Date: Wed, 22 Jan 2014 12:00:04 +0000 (+0100) Subject: crypto: s390 - fix des and des3_ede cbc concurrency issue X-Git-Tag: v3.14-rc2~25^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adc3fcf1552b6e406d172fd9690bbd1395053d13;p=pandora-kernel.git crypto: s390 - fix des and des3_ede cbc concurrency issue In s390 des and des3_ede cbc mode the iv value is not protected against concurrency access and modifications from another running en/decrypt operation which is using the very same tfm struct instance. This fix copies the iv to the local stack before the crypto operation and stores the value back when done. Cc: stable@vger.kernel.org Signed-off-by: Harald Freudenberger Signed-off-by: Herbert Xu --- Reading git-diff-tree failed