Re: [PATCH] crypto: arm64/sha - avoid non-standard inline asm tricks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El Wed, Apr 26, 2017 at 05:11:32PM +0100 Ard Biesheuvel ha dit:

> 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@xxxxxxxxxx>
> ---
>  arch/arm64/crypto/sha1-ce-core.S |  6 ++++--
>  arch/arm64/crypto/sha1-ce-glue.c | 11 +++--------
>  arch/arm64/crypto/sha2-ce-core.S |  6 ++++--
>  arch/arm64/crypto/sha2-ce-glue.c | 13 +++++--------
>  4 files changed, 16 insertions(+), 20 deletions(-)

Herbert, do you plan to pick this up?

Thanks

Matthias



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux