]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: x86/sha - Restructure x86 sha256 glue code to expose all the available sha256...
authortim <tim.c.chen@linux.intel.com>
Wed, 16 Sep 2015 23:35:23 +0000 (16:35 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Sep 2015 14:01:11 +0000 (22:01 +0800)
commitb7c4a719af7ba26a2a3624b5b54ee34ec4a32af9
tree9d895fae55a161370820589df329d694a6347162
parentb07db2ee6ab8c9e633134ddfb76095322983443e
crypto: x86/sha - Restructure x86 sha256 glue code to expose all the available sha256 transforms

Restructure the x86 sha256 glue code so we will expose sha256 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/sha256_ssse3_glue.c