Re: [PATCH 3/8] crypto: ccp: Use precalculated hash from headers

2015-10-22 Thread Tom Lendacky
On 10/20/2015 02:33 AM, LABBE Corentin wrote: Precalculated hash for empty message are now present in hash headers. This patch just use them. Signed-off-by: LABBE Corentin Tested-by: Tom Lendacky Acked-by: Tom Lendacky

[PATCH 1/4] crypto: hifn_795x: replace simple_strtoul by kstrtouint

2015-10-22 Thread LABBE Corentin
The simple_strtoul function is marked as obsolete. This patch replace it by kstrtouint at the cost of changing some function return type from void to int. Signed-off-by: LABBE Corentin --- drivers/crypto/hifn_795x.c | 28 1 file changed,

[PATCH] Add select of CONFIG_SRCU by CONFIG_CRYPTO

2015-10-22 Thread Andrej Krutak
Signed-off-by: Andrej Krutak --- crypto/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/Kconfig b/crypto/Kconfig index 48ee3e1..c7596ee 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -14,6 +14,7 @@ source "crypto/async_tx/Kconfig" # menuconfig

[PATCH 3/4] crypto: hifn_795x: use dev_xx/pr_xx instead of printk

2015-10-22 Thread LABBE Corentin
This patch replace all printk by their dev_xx/pr_xx counterpart. The patch remove also all custom dprintk by pr_debug/dev_debug Signed-off-by: LABBE Corentin --- drivers/crypto/hifn_795x.c | 149 - 1 file changed, 67

[PATCH 4/4] crypto: hifn_795x: fix coding style

2015-10-22 Thread LABBE Corentin
The hifn_795x driver is old and have lots of style issue. This patch try to solve easy ones. Signed-off-by: LABBE Corentin --- drivers/crypto/hifn_795x.c | 301 + 1 file changed, 138 insertions(+), 163 deletions(-) diff

[PATCH 2/4] crypto: hifn_795x: remove the hifn_test function

2015-10-22 Thread LABBE Corentin
The hifn_test function is redundant with test done at register time by the crypto API, so remove it. Signed-off-by: LABBE Corentin --- drivers/crypto/hifn_795x.c | 58 -- 1 file changed, 58 deletions(-) diff --git

[PATCH] crypto: qat - remove superfluous check from adf_probe

2015-10-22 Thread Salvatore Benedetto
- ent->device is already checked at the beginning of the function against the same value. This check is a duplicate. Signed-off-by: Salvatore Benedetto --- drivers/crypto/qat/qat_dh895xcc/adf_drv.c | 8 +--- drivers/crypto/qat/qat_dh895xccvf/adf_drv.c |

[PATCH] crypto: qat - fix get instance function

2015-10-22 Thread Tadeusz Struk
Fix the logic in case we have found a device on a given node. Signed-off-by: Tadeusz Struk --- drivers/crypto/qat/qat_common/qat_crypto.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

Re: [PATCH] Add select of CONFIG_SRCU by CONFIG_CRYPTO

2015-10-22 Thread Herbert Xu
Andrej Krutak wrote: > Signed-off-by: Andrej Krutak You are supposed to describe the patch here, e.g., the reason why we need this patch. Thanks, -- Email: Herbert Xu Home Page: