crypto: x86/sha - Intel SHA Extensions optimized SHA256 transform function
authortim <tim.c.chen@linux.intel.com>
Thu, 10 Sep 2015 22:27:13 +0000 (15:27 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Sep 2015 14:01:06 +0000 (22:01 +0800)
commit600a2334e83d22e5c3f7ff2581f545bfc354d206
treecf4da0fd9cd4ea5058623d4f0c80ddc0a7376c5c
parentc356a7e975a25e8867961c1b7a4a965d506f0a04
crypto: x86/sha - Intel SHA Extensions optimized SHA256 transform function

This patch includes the Intel SHA Extensions optimized implementation
of SHA-256 update function. This function has been tested on Broxton
platform and measured a speed up of 3.6x over the SSSE3 implementiation
for 4K blocks.

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/sha256_ni_asm.S [new file with mode: 0644]