[PATCH 3/3] crypto: testmgr.c: delay execution of set-up code

2014-08-08 Thread Cristian Stoica
Prepare IV array only if the dependent code is executed. Signed-off-by: Cristian Stoica --- crypto/testmgr.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 36f45ff..365f8a3 100644 --- a/crypto/testmgr.c +++ b/crypto/te

[PATCH 2/3] crypto: testmgr.c: white space removal on __test_skcipher

2014-08-08 Thread Cristian Stoica
This patch inverts two if conditions to remove code blocks indentation. Several white space clean-ups follow. Signed-off-by: Cristian Stoica --- crypto/testmgr.c | 283 ++- 1 file changed, 136 insertions(+), 147 deletions(-) diff --git a/crypt

[PATCH 1/3] crypto: testmgr.c: white space removal on __test_hash

2014-08-08 Thread Cristian Stoica
This patch inverts one if condition to remove code block indentation. Several white space clean-ups follow. Signed-off-by: Cristian Stoica --- crypto/testmgr.c | 123 +++ 1 file changed, 60 insertions(+), 63 deletions(-) diff --git a/crypto/te

[PATCH] crypto: testmgr.c: remove unused function argument

2014-08-08 Thread Cristian Stoica
The argument "req" of do_one_async_hash_op is not used by the function. This patch removes this argument and renames the function to match more closely its purpose. Signed-off-by: Cristian Stoica --- crypto/testmgr.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff -

Re: [PATCH] crypto: testmgr.c: white space fix-ups on test_aead

2014-08-08 Thread Horia Geantă
On 7/28/2014 1:11 PM, Cristian Stoica wrote: > This patch inverts two if conditions and allows removal of one > tab-stop in their code-blocks. Only white-space clean-up follows. > > Signed-off-by: Cristian Stoica > --- > crypto/testmgr.c | 498 > +++--