]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
crypto: x86/sha512_ssse3 - move SHA-384/512 SSSE3 implementation to base layer
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 9 Apr 2015 10:55:48 +0000 (12:55 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 10 Apr 2015 13:39:48 +0000 (21:39 +0800)
commite68410ebf62676dfb93aafff7c55b76644f37072
tree57db3b65d6c10e8ec1ab1b9dfff1b4ebcded22d8
parent1631030ae63aef0a54fe08813e0f4e26c8ef9c78
crypto: x86/sha512_ssse3 - move SHA-384/512 SSSE3 implementation to base layer

This removes all the boilerplate from the existing implementation,
and replaces it with calls into the base layer.  It also changes the
prototypes of the core asm functions to be compatible with the base
prototype

  void (sha512_block_fn)(struct sha256_state *sst, u8 const *src, int blocks)

so that they can be passed to the base layer directly.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/sha512-avx-asm.S
arch/x86/crypto/sha512-avx2-asm.S
arch/x86/crypto/sha512-ssse3-asm.S
arch/x86/crypto/sha512_ssse3_glue.c