]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
crypto: x86/sha - glue code for Intel SHA extensions optimized SHA1 & SHA256
authortim <tim.c.chen@linux.intel.com>
Thu, 10 Sep 2015 22:27:20 +0000 (15:27 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Sep 2015 14:01:06 +0000 (22:01 +0800)
commit95fca7df0b4964fbe3fe159e3d6e681e6b5b7a53
tree188d3095578102fba0a385c6d4745ea744a0cbf8
parent600a2334e83d22e5c3f7ff2581f545bfc354d206
crypto: x86/sha - glue code for Intel SHA extensions optimized SHA1 & SHA256

This patch adds the glue code to detect and utilize the Intel SHA
extensions optimized SHA1 and SHA256 update transforms when available.

This code has been tested on Broxton for functionality.

Originally-by: Chandramouli Narayanan <mouli_7982@yahoo.com>
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/sha1_ssse3_glue.c
arch/x86/crypto/sha256_ssse3_glue.c