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

Restructure the x86 sha1 glue code so we will expose sha1 transforms based
on SSSE3, AVX, AVX2 or SHA-NI extension as separate individual drivers
when cpu provides such 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/sha1_ssse3_glue.c