]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sha512-mb - SHA512 multibuffer job manager and glue code
authorMegha Dey <megha.dey@linux.intel.com>
Mon, 27 Jun 2016 17:20:04 +0000 (10:20 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 28 Jun 2016 08:06:35 +0000 (16:06 +0800)
commitfed1c3ca5f09c8c8c60156628d8ceeba91c8da09
treea5eab5cedb851d2fe0000b346d0f8df3c0c9f08a
parentf2a719560f7e2ae838ac350ee5c1958ae3c8ae17
crypto: sha512-mb - SHA512 multibuffer job manager and glue code

This patch introduces the multi-buffer job manager which is responsible
for submitting scatter-gather buffers from several SHA512 jobs to the
multi-buffer algorithm. It also contains the flush routine that's called
by the crypto daemon to complete the job when no new jobs arrive before
the deadline of maximum latency of a SHA512 crypto job.

The SHA512 multi-buffer crypto algorithm is defined and initialized in this
patch.

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