]> 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)
commit52ea725d132517c12e7e3041e11fd3fd3ae007df
tree7a096cccdafe7c5aa6b743d7556814e1a644321e
parent171c7d537ca309209384d6ec10a40c1ef282e3ee
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]