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)
commit8c603ff28659e65fdae960cd3f952ec168fc773a
treea5eab5cedb851d2fe0000b346d0f8df3c0c9f08a
parent9ac1c3200c79e7b83b881232f40bc9e34b040516
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]
This page took 0.040289 seconds and 5 git commands to generate.