]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sha256-mb - Crypto computation (x8 AVX2)
authorMegha Dey <megha.dey@intel.com>
Fri, 24 Jun 2016 01:40:46 +0000 (18:40 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 27 Jun 2016 08:57:45 +0000 (16:57 +0800)
commit1632fa52307ff3c3859b81e49935248a6b371c80
tree4962ac4a597b1977af529bf4d196bfbda7844c8f
parent1531f10f2cbc5eb976815477abd3bcb8b10b93b3
crypto: sha256-mb - Crypto computation (x8 AVX2)

This patch introduces the assembly routines to do SHA256 computation
on buffers belonging to several jobs at once.  The assembly routines
are optimized with AVX2 instructions that have 8 data lanes and using
AVX2 registers.

Signed-off-by: Megha Dey <megha.dey@linux.intel.com>
Reviewed-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/sha256-mb/sha256_x8_avx2.S [new file with mode: 0644]