crypto: sha512-mb - Crypto computation (x4 AVX2)
authorMegha Dey <megha.dey@linux.intel.com>
Mon, 27 Jun 2016 17:20:08 +0000 (10:20 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 28 Jun 2016 08:06:40 +0000 (16:06 +0800)
commitbee5cfd9f6702fa93f183a289dda798042bde489
tree1e08f7fec33a7de1f38461646aa87c5fd5fa96a0
parent2cdacb68d70d3c2f0fc41108619d51bc256df10a
crypto: sha512-mb - Crypto computation (x4 AVX2)

This patch introduces the assembly routines to do SHA512 computation on
buffers belonging to several jobs at once. The assembly routines are
optimized with AVX2 instructions that have 4 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/sha512-mb/sha512_x4_avx2.S [new file with mode: 0644]