crypto: sha256-mb - submit/flush routines for AVX2
authorMegha Dey <megha.dey@intel.com>
Fri, 24 Jun 2016 01:40:44 +0000 (18:40 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 27 Jun 2016 08:57:44 +0000 (16:57 +0800)
commita377c6b1876e7ac847a124998e828baf9d8c89c2
tree7a096cccdafe7c5aa6b743d7556814e1a644321e
parent9be7e24483998fa6a34c2b191c4798b8189f8f9e
crypto: sha256-mb - submit/flush routines for AVX2

This patch introduces the routines used to submit and flush buffers
belonging to SHA256 crypto jobs to the SHA256 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/sha256-mb/sha256_mb_mgr_flush_avx2.S [new file with mode: 0644]
arch/x86/crypto/sha256-mb/sha256_mb_mgr_init_avx2.c [new file with mode: 0644]
arch/x86/crypto/sha256-mb/sha256_mb_mgr_submit_avx2.S [new file with mode: 0644]