[PATCH] crypto: Remove unnecessary KERN_ERR in bfin_crc.c

2015-01-01 Thread Masanari Iida
This patch removes unnecessary KERN_ERR from bfin_crypto_crc_mod_init(). Signed-off-by: Masanari Iida --- drivers/crypto/bfin_crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/bfin_crc.c b/drivers/crypto/bfin_crc.c index 9ae149b..33cf9eb 100644 --- a/driver

Re: [PATCH] crypto: aesni - fix "by8" variant for 128 bit keys

2015-01-01 Thread James Yonan
On 30/12/2014 14:50, Mathias Krause wrote: The "by8" counter mode optimization is broken for 128 bit keys with input data longer than 128 bytes. It uses the wrong key material for en- and decryption. The key registers xkey0, xkey4, xkey8 and xkey12 need to be preserved in case we're handling mor

[PATCH] crypto: amcc: crypto4xx_sa.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function get_dynamic_sa_offset_iv_field() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/crypto/amcc/crypto4xx_sa.c | 23 --- 1 file changed, 23 deletio