]> git.baikalelectronics.ru Git - kernel.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)
commit5a62e8da3586b868ff61939acfc5ea14a18f1a57
tree8501816fb5b031a413a6b4c5d8f89d6dd3413fee
parent50aa2e113766249b3346f40c575463a7429507ad
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]