crypto: sha512-mb - submit/flush routines for AVX2
authorMegha Dey <megha.dey@linux.intel.com>
Mon, 27 Jun 2016 17:20:06 +0000 (10:20 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 28 Jun 2016 08:06:38 +0000 (16:06 +0800)
commit45691e2d9b18a0a1675b2c7504847f7c228f7657
tree09762fad48cd266f73a5577068421b30a8a32f7f
parent026bb8aaf5162b881fdd56f12fa8a6f5a052e097
crypto: sha512-mb - submit/flush routines for AVX2

This patch introduces the routines used to submit and flush buffers
belonging to SHA512 crypto jobs to the SHA512 multibuffer algorithm.
It is implemented mostly in assembly optimized with AVX2 instructions.

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_mb_mgr_flush_avx2.S [new file with mode: 0644]
arch/x86/crypto/sha512-mb/sha512_mb_mgr_init_avx2.c [new file with mode: 0644]
arch/x86/crypto/sha512-mb/sha512_mb_mgr_submit_avx2.S [new file with mode: 0644]