]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
crypto: x86/sha - Intel SHA Extensions optimized SHA1 transform function
authortim <tim.c.chen@linux.intel.com>
Thu, 10 Sep 2015 22:26:59 +0000 (15:26 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Sep 2015 14:01:05 +0000 (22:01 +0800)
commitc356a7e975a25e8867961c1b7a4a965d506f0a04
tree8501816fb5b031a413a6b4c5d8f89d6dd3413fee
parentb8e31bf3083106e8530d6d5786e23b365b49b11b
crypto: x86/sha - Intel SHA Extensions optimized SHA1 transform function

This patch includes the Intel SHA Extensions optimized implementation
of SHA-1 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/sha1_ni_asm.S [new file with mode: 0644]