[PATCH] crypto: omap-sham: fix memleak

2018-04-17 Thread Bin Liu
Fixes: 8043bb1ae03cb ("crypto: omap-sham - convert driver logic to use sgs for data xmit") The memory pages freed in omap_sham_finish_req() were less than those allocated in omap_sham_copy_sgs(). Cc: sta...@vger.kernel.org Signed-off-by: Bin Liu --- drivers/crypto/omap-sham.c | 2

[PATCH v2] crypto: omap-sham - increase cra_proirity to 400

2016-06-30 Thread Bin Liu
The arm-neon-sha implementations have cra_priority of 150...300, so increase omap-sham priority to 400 to ensure it is on top of any software alg. Signed-off-by: Bin Liu --- v2: updated commit comments to be more specific. drivers/crypto/omap-sham.c | 24 1 file

[PATCH] crypto: omap-sham - increase cra_proirity to 400

2016-06-29 Thread Bin Liu
Some software alg has cra_priority as higher as 300, so increase omap-sham priority to 400 to ensure it is on top of any software alg. Signed-off-by: Bin Liu --- drivers/crypto/omap-sham.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers