[PATCH v2] drivers/crypto/nx: saves chaining value from co-processor

2013-08-07 Thread Fionnuala Gunter
This patch fixes a bug that is triggered when cts(cbc(aes)) is used with nx-crypto driver on input larger than 32 bytes. The chaining value from co-processor was not being saved. This value is needed because it is used as the IV by cts(cbc(aes)). Signed-off-by: Fionnuala Gunter f

[PATCH] drivers/crypto/nx: saves chaining value from co-processor

2013-08-02 Thread Fionnuala Gunter
The chaining value from co-processor was not being saved. This value is needed because it is used as the IV, for example by cts i.e. cts(cbc(aes)). Signed-off-by: Fionnuala Gunter f...@linux.vnet.ibm.com Signed-off-by: Marcelo Cerri mhce...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-cbc.c

Re: [PATCH] drivers/crypto/nx: saves chaining value from co-processor

2013-08-02 Thread Fionnuala Gunter
On Sat, 2013-08-03 at 07:09 +1000, Benjamin Herrenschmidt wrote: On Fri, 2013-08-02 at 15:58 -0500, Fionnuala Gunter wrote: The chaining value from co-processor was not being saved. This value is needed because it is used as the IV, for example by cts i.e. cts(cbc(aes)). Signed-off

Re: [PATCH] drivers/crypto/nx: saves chaining value from co-processor

2013-08-02 Thread Fionnuala Gunter
On Sat, 2013-08-03 at 07:59 +1000, Benjamin Herrenschmidt wrote: On Fri, 2013-08-02 at 16:55 -0500, Fionnuala Gunter wrote: Sorry, I thought linuxppc-dev was the right tree since the patch is for a ppc driver and you've carried previous nx driver submissions upstream. I want