projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a83034f
)
crypto: arm/ghash - fix big-endian bug in ghash
author
Ard Biesheuvel
<ard.biesheuvel@linaro.org>
Mon, 23 Mar 2015 20:33:09 +0000
(21:33 +0100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 24 Mar 2015 11:24:56 +0000
(22:24 +1100)
This fixes a bug in the new v8 Crypto Extensions GHASH code
that only manifests itself in big-endian mode.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/ghash-ce-core.S
patch
|
blob
|
history
diff --git
a/arch/arm/crypto/ghash-ce-core.S
b/arch/arm/crypto/ghash-ce-core.S
index
e643a15
..
f6ab8bc
100644
(file)
--- a/
arch/arm/crypto/ghash-ce-core.S
+++ b/
arch/arm/crypto/ghash-ce-core.S
@@
-40,7
+40,7
@@
* struct ghash_key const *k, const char *head)
*/
ENTRY(pmull_ghash_update)
- vld1.
8
{SHASH}, [r3]
+ vld1.
64
{SHASH}, [r3]
vld1.64 {XL}, [r1]
vmov.i8 MASK, #0xe1
vext.8 SHASH2, SHASH, SHASH, #8