crypto: x86/sha - Restructure x86 sha512 glue code to expose all the available sha512...
authortim <tim.c.chen@linux.intel.com>
Wed, 16 Sep 2015 23:35:53 +0000 (16:35 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Sep 2015 14:01:11 +0000 (22:01 +0800)
commitbe6ec98ddb6749bba0fc7f67bd2f89a2396805de
tree9ee7d49af1b1a8d8d86aea6c5505c8429d8f30e4
parent5dda42fc89f26fb3b6312076b17feda8c397d2b8
crypto: x86/sha - Restructure x86 sha512 glue code to expose all the available sha512 transforms

Restructure the x86 sha512 glue code so we will expose sha512 transforms
based on SSSE3, AVX or AVX2 as separate individual drivers when cpu
provides support. This will make it easy for alternative algorithms to
be used if desired and makes the code cleaner and easier to maintain.

Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/sha512_ssse3_glue.c