Commit fa50d7ee authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Herbert Xu
Browse files

crypto: arm/ghash - fix big-endian bug in ghash

This fixes a bug in the new v8 Crypto Extensions GHASH code
that only manifests itself in big-endian mode.

Signed-off-by: default avatarArd Biesheuvel <>
Signed-off-by: default avatarHerbert Xu <>
parent a83034f5
......@@ -40,7 +40,7 @@
* struct ghash_key const *k, const char *head)
vld1.8 {SHASH}, [r3]
vld1.64 {SHASH}, [r3]
vld1.64 {XL}, [r1]
vmov.i8 MASK, #0xe1
vext.8 SHASH2, SHASH, SHASH, #8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment