]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcbdf9ae380951dda3e7a0e64195f2b2cf8cc687c
tree09762fad48cd266f73a5577068421b30a8a32f7f
parent0dffa9f09603e957bea1e7eaca1aa1eaf267e231
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]