]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e280694810e04f941d652363b15de80fba10e54
tree7a096cccdafe7c5aa6b743d7556814e1a644321e
parent2bfd35167f4c788776c8334d95f22502f644a87e
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]