crypto: arch - use crypto_memneq instead of memcmp
authorDaniel Borkmann <dborkman@redhat.com>
Wed, 11 Dec 2013 10:28:59 +0000 (11:28 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Dec 2013 12:06:24 +0000 (20:06 +0800)
commitfed286110f4bab01f93f06c32951fbc120fb71b1
treec6d084142644b281d53631b5ef6f6f6f1ced2161
parent369f3dabad95aaa3b04ec390d5489d9d46e51395
crypto: arch - use crypto_memneq instead of memcmp

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 <dborkman@redhat.com>
Cc: James Yonan <james@openvpn.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/crypto/des_s390.c
arch/x86/crypto/aesni-intel_glue.c