commit | f4857f4c2ee9aa4e2aacac1a845352b00197fb57 | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | Wed Apr 26 17:11:32 2017 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu May 18 13:19:52 2017 +0800 |
tree | ad60487f74b59fdda78a38fef7ad133c4bab2cb4 | |
parent | ac50b78b22cddb8a85b264b1f172c4239e826fd2 [diff] |
crypto: arm64/sha - avoid non-standard inline asm tricks Replace the inline asm which exports struct offsets as ELF symbols with proper const variables exposing the same values. This works around an issue with Clang which does not interpret the "i" (or "I") constraints in the same way as GCC. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>