[PATCH 10/10] crypto mv_cesa : Add sha1 and hmac(sha1) async hash drivers

2010-03-16 Thread Uri Simchoni
Add sha1 and hmac(sha1) async hash drivers Signed-off-by: Uri Simchoni --- diff -upr linux-2.6.32.8_p9/drivers/crypto/mv_cesa.c linux-2.6.32.8_p10/drivers/crypto/mv_cesa.c --- linux-2.6.32.8_p9/drivers/crypto/mv_cesa.c2010-03-16 12:33:45.504199755 +0200 +++ linux-2.6.32.8_p10/drivers/crypt

[PATCH 9/10] crypto mv_cesa : Support processing of data from previous requests

2010-03-16 Thread Uri Simchoni
Support processing of data from previous requests (as in hashing update/final requests). Signed-off-by: Uri Simchoni --- diff -upr linux-2.6.32.8_p8/drivers/crypto/mv_cesa.c linux-2.6.32.8_p9/drivers/crypto/mv_cesa.c --- linux-2.6.32.8_p8/drivers/crypto/mv_cesa.c2010-03-16 12:25:34.8159501

[PATCH 8/10] crypto mv_cesa : Make the copy-back of data optional

2010-03-16 Thread Uri Simchoni
Make the copy-back of data optional (not done in hashing requests) Signed-off-by: Uri Simchoni --- diff -upr linux-2.6.32.8_p7/drivers/crypto/mv_cesa.c linux-2.6.32.8_p8/drivers/crypto/mv_cesa.c --- linux-2.6.32.8_p7/drivers/crypto/mv_cesa.c2010-03-16 12:07:31.147897717 +0200 +++ linux-2.6

[PATCH 3/10] crypto mv_cesa : Fix situation where the dest sglist is organized differently than the source sglist

2010-03-16 Thread Uri Simchoni
Bugfix for situations where the destination scatterlist has a different buffer structure than the source scatterlist (e.g. source has one 2K buffer and dest has 2 1K buffers) Signed-off-by: Uri Simchoni --- diff -upr linux-2.6.32.8_p2/drivers/crypto/mv_cesa.c linux-2.6.32.8_p3/drivers/crypto/mv

[PATCH 7/10] crypto mv_cesa : Execute some code via function pointers rathr than direct calls

2010-03-16 Thread Uri Simchoni
Execute some code via function pointers rathr than direct calls (to allow customization in the hashing request) Signed-off-by: Uri Simchoni --- diff -upr linux-2.6.32.8_p6/drivers/crypto/mv_cesa.c linux-2.6.32.8_p7/drivers/crypto/mv_cesa.c --- linux-2.6.32.8_p6/drivers/crypto/mv_cesa.c2010-

[PATCH 6/10] crypto mv_cesa : Rename a variable to a more suitable name

2010-03-16 Thread Uri Simchoni
Rename a variable to a more suitable name Signed-off-by: Uri Simchoni --- diff -upr linux-2.6.32.8_p5/drivers/crypto/mv_cesa.c linux-2.6.32.8_p6/drivers/crypto/mv_cesa.c --- linux-2.6.32.8_p5/drivers/crypto/mv_cesa.c2010-03-16 11:43:37.443646086 +0200 +++ linux-2.6.32.8_p6/drivers/crypto/m

[PATCH 2/10] crypto mv_cesa : Remove compiler warning in mv_cesa driver

2010-03-16 Thread Uri Simchoni
Remove compiler warning Signed-off-by: Uri Simchoni --- diff -upr linux-2.6.32.8_p1/drivers/crypto/mv_cesa.c linux-2.6.32.8_p2/drivers/crypto/mv_cesa.c --- linux-2.6.32.8_p1/drivers/crypto/mv_cesa.c2010-03-16 08:59:12.074583163 +0200 +++ linux-2.6.32.8_p2/drivers/crypto/mv_cesa.c2010-0

[PATCH 5/10] crypto mv_cesa : Enqueue generic async requests

2010-03-16 Thread Uri Simchoni
Enqueue generic async requests rather than ablkcipher requests in the driver's queue Signed-off-by: Uri Simchoni --- diff -upr linux-2.6.32.8_p4/drivers/crypto/mv_cesa.c linux-2.6.32.8_p5/drivers/crypto/mv_cesa.c --- linux-2.6.32.8_p4/drivers/crypto/mv_cesa.c2010-03-16 10:54:07.322816221 +

[PATCH 1/10] crypto mv_cesa : Invoke the user callback from a softirq context

2010-03-16 Thread Uri Simchoni
Invoke the user callback from a softirq context Signed-off-by: Uri Simchoni --- diff -upr linux-2.6.32.8_orig/drivers/crypto/mv_cesa.c linux-2.6.32.8_p1/drivers/crypto/mv_cesa.c --- linux-2.6.32.8_orig/drivers/crypto/mv_cesa.c2010-02-09 14:57:19.0 +0200 +++ linux-2.6.32.8_p1/driver

[PATCH 4/10] crypto mv_cesa : Fix situations where the src sglist spans more data than the request asks for

2010-03-16 Thread Uri Simchoni
Fix for situations where the source scatterlist spans more data than the request nbytes Signed-off-by: Uri Simchoni --- diff -upr linux-2.6.32.8_p3/drivers/crypto/mv_cesa.c linux-2.6.32.8_p4/drivers/crypto/mv_cesa.c --- linux-2.6.32.8_p3/drivers/crypto/mv_cesa.c2010-03-16 09:06:10.18375327

[PATCH 0/10] crypto mv_cesa : Add sha1 and hmac(sha1) support to the mv_cesa driver

2010-03-16 Thread Uri Simchoni
The following patchset adds async hashing (sha1 and hmac-sha1) to the mv_cesa crypto driver. This driver utilizes the Marvell CESA crypto accelerator that exists in some Marvell CPU's (Orion and Kirkwood). The existing driver has AES crypto support. Compared to SW hashing on a 1.2GHz Kirkwood,