Proposal

2017-07-09 Thread Ms.Lev
I have a confidential deal for you, please contact me for more details via this email immediately.

[PATCH 0/5] staging: ccree: fix checkpatch errors

2017-07-09 Thread sleepingzucchini
From: Tyler Olivieri This patchset fixes several checkpatch errors and warnings in /staging/ccree: ERROR: that open brace { should be on the previous line ERROR: open brace '{' following function declarations go on the next line WARNING: EXPORT_SYMBOL(foo); should

[PATCH 2/5] staging: ccree: fix placement of curly braces

2017-07-09 Thread sleepingzucchini
From: Tyler Olivieri Patch to fix checkpatch errors: ERROR: that open brace { should be on the previous line ERROR: open brace '{' following function declarations go on the next line Signed-off-by: Tyler Olivieri ---

[PATCH 4/5] staging: ccree: export symbol immediately following function

2017-07-09 Thread sleepingzucchini
From: Tyler Olivieri Patch to fix following checkpatch warning: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable Signed-off-by: Tyler Olivieri --- drivers/staging/ccree/ssi_fips.c | 2 -- 1 file changed, 2

[PATCH 5/5] staging: ccree: fix switch case indentation

2017-07-09 Thread sleepingzucchini
From: Tyler Olivieri Patch to fix following checkpatch error: ERROR: switch and case should be at the same indent Signed-off-by: Tyler Olivieri --- drivers/staging/ccree/ssi_hash.c | 24 1 file changed, 12

[PATCH 3/5] staging: ccree: remove assignement in conditional

2017-07-09 Thread sleepingzucchini
From: Tyler Olivieri Patch to fix following checkpatch error: ERROR: do not use assignment in if condition Signed-off-by: Tyler Olivieri --- drivers/staging/ccree/ssi_hash.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

[no subject]

2017-07-09 Thread системы администратор
внимания; Ваши сообщения превысил лимит памяти, который составляет 5 Гб, определенных администратором, который в настоящее время работает на 10.9GB, Вы не сможете отправить или получить новую почту, пока вы повторно не проверить ваш почтовый ящик почты. Чтобы восстановить работоспособность

[PATCH v2 05/13] crypto: caam/qi - handle large number of S/Gs case

2017-07-09 Thread Horia Geantă
For more than 16 S/G entries, driver currently corrupts memory on ARMv8, see below KASAN log. Note: this does not reproduce on PowerPC due to different (smaller) cache line size - 64 bytes on PPC vs. 128 bytes on ARMv8. One such use case is one of the cbc(aes) test vectors - with 8 S/G entries

[PATCH v2 03/13] crypto: caam/qi - fix compilation with CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y

2017-07-09 Thread Horia Geantă
caam/qi driver fails to compile when CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y. Fix it by making the offending local per_cpu variable global. Cc: Fixes: 67c2315def06c ("crypto: caam - add Queue Interface (QI) backend support") Reported-by: kbuild test robot

[PATCH v2 04/13] crypto: caam/qi - properly set IV after {en,de}crypt

2017-07-09 Thread Horia Geantă
caam/qi needs a fix similar to what was done for caam/jr in commit "crypto: caam/qi - properly set IV after {en,de}crypt", to allow for ablkcipher/skcipher chunking/streaming. Cc: Fixes: b189817cf789 ("crypto: caam/qi - add ablkcipher and authenc algorithms")

[PATCH v2 02/13] crypto: caam/qi - fix compilation with DEBUG enabled

2017-07-09 Thread Horia Geantă
caam/qi driver does not compile when DEBUG is enabled (CRYPTO_DEV_FSL_CAAM_DEBUG=y): drivers/crypto/caam/caamalg_qi.c: In function 'ablkcipher_done': drivers/crypto/caam/caamalg_qi.c:794:2: error: implicit declaration of function 'dbg_dump_sg' [-Werror=implicit-function-declaration]

[PATCH v2 06/13] crypto: caam/qi - fix AD length endianness in S/G entry

2017-07-09 Thread Horia Geantă
Associated data (AD) length is read by CAAM from an S/G entry that is initially filled by the GPP. Accordingly, AD length has to be stored in CAAM endianness. Fixes: b189817cf789 ("crypto: caam/qi - add ablkcipher and authenc algorithms") Signed-off-by: Horia Geantă ---

Re: [PATCH 05/13] crypto: caam/qi - handle large number of S/Gs case

2017-07-09 Thread Horia Geantă
On 7/7/2017 4:06 PM, Horia Geantă wrote: > For more than 16 S/G entries, driver currently corrupts memory > on ARMv8, see below KASAN log. > Note: this does not reproduce on PowerPC due to different (smaller) > cache line size - 64 bytes on PPC vs. 128 bytes on ARMv8. > > One such use case is one

[PATCH v2 00/13] crypto: caam - fixes, clean-up

2017-07-09 Thread Horia Geantă
[ Change log: v1 -> v2 -patch 05/13 - add missing check in ablkcipher_giv_edesc_alloc(), to make sure number of reserved S/G entries is not overflown -patch 12/13 - fix author - replace my Freescale address with corresponding NXP one ] Hi, Current patch set consists of: Patches 1-4 fix some

[PATCH v2 08/13] crypto: caam/qi - remove unused header sg_sw_sec4.h

2017-07-09 Thread Horia Geantă
sg_sw_sec4.h header is not used by caam/qi, thus remove its inclusion. Signed-off-by: Horia Geantă --- drivers/crypto/caam/caamalg_qi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/caam/caamalg_qi.c b/drivers/crypto/caam/caamalg_qi.c index

[PATCH v2 09/13] crypto: caam/qi - lower driver verbosity

2017-07-09 Thread Horia Geantă
Change log level for some prints from dev_info() to dev_dbg(), low-level details are needed only when debugging. Signed-off-by: Horia Geantă --- drivers/crypto/caam/qi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/caam/qi.c

[PATCH v2 12/13] crypto: caam - clean-up in caam_init_rng()

2017-07-09 Thread Horia Geantă
Clean up the code, as indicated by Coccinelle. Cc: Julia Lawall Signed-off-by: Horia Geantă --- v2: fix author - replace my Freescale address with corresponding NXP one drivers/crypto/caam/caamrng.c | 6 +- 1 file changed, 1 insertion(+), 5

[PATCH v2 10/13] crypto: caam - remove unused sg_to_sec4_sg_len()

2017-07-09 Thread Horia Geantă
sg_to_sec4_sg_len() is no longer used since commit 479bcc7c5b9e ("crypto: caam - Convert authenc to new AEAD interface") Its functionality has been superseded by the usage of sg_nents_for_len() returning the number of S/G entries corresponding to the provided length. Signed-off-by: Horia Geantă

[PATCH v2 11/13] crypto: caam - remove unused variables in caam_drv_private

2017-07-09 Thread Horia Geantă
From: Tudor Ambarus Signed-off-by: Tudor Ambarus Signed-off-by: Horia Geantă --- drivers/crypto/caam/ctrl.c | 1 - drivers/crypto/caam/intern.h | 3 --- 2 files changed, 4 deletions(-) diff --git

[PATCH v2 13/13] crypto: caam - fix condition for the jump over key(s) command

2017-07-09 Thread Horia Geantă
From: Tudor Ambarus SELF condition has no meaning for the SERIAL sharing since the jobs are executed in the same DECO. Signed-off-by: Tudor Ambarus Signed-off-by: Horia Geantă --- drivers/crypto/caam/caamalg_desc.c |

[PATCH v2 07/13] crypto: caam/qi - explicitly set dma_ops

2017-07-09 Thread Horia Geantă
Since ARM64 commit 1dccb598df549 ("arm64: simplify dma_get_ops"), dma_ops no longer default to swiotlb_dma_ops, but to dummy_dma_ops. dma_ops have to be explicitly set in the driver - at least for ARM64. Fixes: 67c2315def06 ("crypto: caam - add Queue Interface (QI) backend support")

[PATCH v2 01/13] crypto: caam/qi - fix typo in authenc alg driver name

2017-07-09 Thread Horia Geantă
s/desi/des for echainiv(authenc(hmac(sha256),cbc(des))) alg. Cc: Fixes: b189817cf7894 ("crypto: caam/qi - add ablkcipher and authenc algorithms") Signed-off-by: Horia Geantă --- drivers/crypto/caam/caamalg_qi.c | 2 +- 1 file changed, 1

[PATCH 1/2] staging: ccree: remove unnecessary cast on kmalloc

2017-07-09 Thread Gustavo A. R. Silva
The assignment operator implicitly converts a void pointer to the type of the pointer it is assigned to. This issue was detected using Coccinelle and the following semantic patch: @@ expression * e; expression arg1, arg2; type T; @@ - e=(T*) + e= kmalloc(arg1, arg2); Signed-off-by: Gustavo A.