[PATCH cryptodev] crypto: arch - use crypto_memneq instead of memcmp

2013-12-11 Thread Daniel Borkmann
Replace remaining occurences (just as we did in crypto/) under arch/*/crypto/ that make use of memcmp() for comparing keys or authentication tags for usage with crypto_memneq(). It can simply be used as a drop-in replacement for the normal memcmp(). Signed-off-by: Daniel Borkmann

re: crypto: ccp - CCP SHA crypto API support

2013-12-11 Thread Dan Carpenter
Hello Tom Lendacky, The patch 0ab0a1d505ab: crypto: ccp - CCP SHA crypto API support from Nov 12, 2013, leads to the following static checker warning: drivers/crypto/ccp/ccp-crypto-sha.c:182 ccp_do_sha_update() warn: should 'rctx-hash_cnt 3' be a 64 bit type?

Re: crypto: ccp - CCP SHA crypto API support

2013-12-11 Thread Tom Lendacky
On Wednesday, December 11, 2013 01:51:50 PM Dan Carpenter wrote: Hello Tom Lendacky, The patch 0ab0a1d505ab: crypto: ccp - CCP SHA crypto API support from Nov 12, 2013, leads to the following static checker warning: drivers/crypto/ccp/ccp-crypto-sha.c:182 ccp_do_sha_update()

Re: crypto: ccp - CCP SHA crypto API support

2013-12-11 Thread Dan Carpenter
On Wed, Dec 11, 2013 at 08:45:47AM -0600, Tom Lendacky wrote: On Wednesday, December 11, 2013 01:51:50 PM Dan Carpenter wrote: Hello Tom Lendacky, The patch 0ab0a1d505ab: crypto: ccp - CCP SHA crypto API support from Nov 12, 2013, leads to the following static checker warning:

[PATCH 2/2] crypto: Added speed tests for AEAD crypto alogrithms in tcrypt test suite

2013-12-11 Thread Tim Chen
Adding simple speed tests for a range of block sizes for AEAD crypto algorithms. Signed-off-by: Tim Chen tim.c.c...@linux.intel.com --- crypto/tcrypt.c | 270 crypto/tcrypt.h | 10 +++ 2 files changed, 280 insertions(+) diff --git