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)
commit992532474ffa954ff678627a1c0f815d7b6cd7fc
tree4962ac4a597b1977af529bf4d196bfbda7844c8f
parent98cf10383a5507147793789bc5c2c02688df44b2
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]