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

2013-12-20 Thread Herbert Xu
On Wed, Dec 11, 2013 at 11:28:59AM +0100, Daniel Borkmann wrote: 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

[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