crypto: ghash-clmulni-intel - Use u128 instead of be128 for internal key
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Apr 2014 12:24:03 +0000 (20:24 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Apr 2014 13:06:14 +0000 (21:06 +0800)
commit0ea481466d1c7cbd9d8f70ddc17a443a6c6fc09b
treebed8163ad53745b67b1ea220d0d420fac4764cf6
parent59ecc26004e77e100c700b1d0da7502b0fdadb46
crypto: ghash-clmulni-intel - Use u128 instead of be128 for internal key

The internal key isn't actually in big-endian format so let's switch
to u128 which also happens to allow us to remove a sparse warning.

Based on suggestion by Ard Biesheuvel.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
arch/x86/crypto/ghash-clmulni-intel_asm.S
arch/x86/crypto/ghash-clmulni-intel_glue.c