crypto: sha-mb - SHA1 multibuffer job manager and glue code
authorTim Chen <tim.c.chen@linux.intel.com>
Thu, 31 Jul 2014 17:30:03 +0000 (10:30 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 25 Aug 2014 12:32:30 +0000 (20:32 +0800)
commitad61e042e9151b55b393d5875e467e7fe0c7470c
treeb5d6d6ea9872cc2c53405bc25f205c33966115b0
parent12d2513d5fe23aed53872f9303d9cb4b61b60d80
crypto: sha-mb - SHA1 multibuffer job manager and glue code

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

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

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