<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/crypto, branch linux-4.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-08-16T09:09:43Z</updated>
<entry>
<title>crypto: sha512-mb - fix ctx pointer</title>
<updated>2016-08-16T09:09:43Z</updated>
<author>
<name>Xiaodong Liu</name>
</author>
<published>2016-08-12T10:28:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e67479b13ede47cc2f5beb5b51e67fdb30778ee8'/>
<id>urn:sha1:e67479b13ede47cc2f5beb5b51e67fdb30778ee8</id>
<content type='text'>
1. fix ctx pointer
Use req_ctx which is the ctx for the next job that have
been completed in the lanes instead of the first
completed job rctx, whose completion could have been
called and released.

Signed-off-by: Xiaodong Liu &lt;xiaodong.liu@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha256-mb - fix ctx pointer and digest copy</title>
<updated>2016-08-16T09:09:42Z</updated>
<author>
<name>Xiaodong Liu</name>
</author>
<published>2016-08-12T10:24:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=172b1d6b5a9337eb8c1ec294b80e448e03a9ac17'/>
<id>urn:sha1:172b1d6b5a9337eb8c1ec294b80e448e03a9ac17</id>
<content type='text'>
1. fix ctx pointer
Use req_ctx which is the ctx for the next job that have
been completed in the lanes instead of the first
completed job rctx, whose completion could have been
called and released.
2. fix digest copy
Use XMM register to copy another 16 bytes sha256 digest
instead of a regular register.

Signed-off-by: Xiaodong Liu &lt;xiaodong.liu@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha-mb - Cleanup code to use || instead of |</title>
<updated>2016-07-12T05:02:00Z</updated>
<author>
<name>Tim Chen</name>
</author>
<published>2016-07-08T16:28:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb9bc8e7afaa9f062105dad55ec1c0663d961bb3'/>
<id>urn:sha1:eb9bc8e7afaa9f062105dad55ec1c0663d961bb3</id>
<content type='text'>
 for condition comparison and cleanup multiline comment style

In sha*_ctx_mgr_submit, we currently use the | operator instead of ||
((ctx-&gt;partial_block_buffer_length) | (len &lt; SHA1_BLOCK_SIZE))

Switching it to || and remove extraneous paranthesis to
adhere to coding style.

Also cleanup inconsistent multiline comment style.

Signed-off-by: Tim Chen &lt;tim.c.chen@linux.intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: aesni - Use crypto_cipher to derive rfc4106 subkey</title>
<updated>2016-07-01T15:45:06Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2016-06-29T10:03:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02fa472afef2f619a16eb24117b90f9e7998c65f'/>
<id>urn:sha1:02fa472afef2f619a16eb24117b90f9e7998c65f</id>
<content type='text'>
Currently aesni uses an async ctr(aes) to derive the rfc4106
subkey, which was presumably copied over from the generic rfc4106
code.  Over there it's done that way because we already have a
ctr(aes) spawn.  But it is simply overkill for aesni since we
have to go get a ctr(aes) from scratch anyway.

This patch simplifies the subkey derivation by using a straight
aes cipher instead.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha512-mb - Crypto computation (x4 AVX2)</title>
<updated>2016-06-28T08:06:40Z</updated>
<author>
<name>Megha Dey</name>
</author>
<published>2016-06-27T17:20:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bee5cfd9f6702fa93f183a289dda798042bde489'/>
<id>urn:sha1:bee5cfd9f6702fa93f183a289dda798042bde489</id>
<content type='text'>
This patch introduces the assembly routines to do SHA512 computation on
buffers belonging to several jobs at once. The assembly routines are
optimized with AVX2 instructions that have 4 data lanes and using AVX2
registers.

Signed-off-by: Megha Dey &lt;megha.dey@linux.intel.com&gt;
Reviewed-by: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Reviewed-by: Tim Chen &lt;tim.c.chen@linux.intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha512-mb - Algorithm data structures</title>
<updated>2016-06-28T08:06:39Z</updated>
<author>
<name>Megha Dey</name>
</author>
<published>2016-06-27T17:20:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2cdacb68d70d3c2f0fc41108619d51bc256df10a'/>
<id>urn:sha1:2cdacb68d70d3c2f0fc41108619d51bc256df10a</id>
<content type='text'>
This patch introduces the data structures and prototypes of functions
needed for computing SHA512 hash using multi-buffer. Included are the
structures of the multi-buffer SHA512 job, job scheduler in C and x86
assembly.

Signed-off-by: Megha Dey &lt;megha.dey@linux.intel.com&gt;
Reviewed-by: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Reviewed-by: Tim Chen &lt;tim.c.chen@linux.intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha512-mb - submit/flush routines for AVX2</title>
<updated>2016-06-28T08:06:38Z</updated>
<author>
<name>Megha Dey</name>
</author>
<published>2016-06-27T17:20:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45691e2d9b18a0a1675b2c7504847f7c228f7657'/>
<id>urn:sha1:45691e2d9b18a0a1675b2c7504847f7c228f7657</id>
<content type='text'>
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 &lt;megha.dey@linux.intel.com&gt;
Reviewed-by: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Reviewed-by: Tim Chen &lt;tim.c.chen@linux.intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha512-mb - SHA512 multibuffer job manager and glue code</title>
<updated>2016-06-28T08:06:35Z</updated>
<author>
<name>Megha Dey</name>
</author>
<published>2016-06-27T17:20:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c603ff28659e65fdae960cd3f952ec168fc773a'/>
<id>urn:sha1:8c603ff28659e65fdae960cd3f952ec168fc773a</id>
<content type='text'>
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 &lt;megha.dey@linux.intel.com&gt;
Reviewed-by: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Reviewed-by: Tim Chen &lt;tim.c.chen@linux.intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha1-mb - rename sha-mb to sha1-mb</title>
<updated>2016-06-27T08:57:47Z</updated>
<author>
<name>Megha Dey</name>
</author>
<published>2016-06-24T01:40:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c79f6f81a23052e5d1f13a3e6e9aaf915621430'/>
<id>urn:sha1:4c79f6f81a23052e5d1f13a3e6e9aaf915621430</id>
<content type='text'>
Until now, there was only support for the SHA1 multibuffer algorithm.
Hence, there was just one sha-mb folder. Now, with the introduction of
the SHA256 multi-buffer algorithm , it is logical to name the existing
folder as sha1-mb.

Signed-off-by: Megha Dey &lt;megha.dey@linux.intel.com&gt;
Reviewed-by: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Reviewed-by: Tim Chen &lt;tim.c.chen@linux.intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sha256-mb - Crypto computation (x8 AVX2)</title>
<updated>2016-06-27T08:57:45Z</updated>
<author>
<name>Megha Dey</name>
</author>
<published>2016-06-24T01:40:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=992532474ffa954ff678627a1c0f815d7b6cd7fc'/>
<id>urn:sha1:992532474ffa954ff678627a1c0f815d7b6cd7fc</id>
<content type='text'>
This patch introduces the assembly routines to do SHA256 computation
on buffers belonging to several jobs at once.  The assembly routines
are optimized with AVX2 instructions that have 8 data lanes and using
AVX2 registers.

Signed-off-by: Megha Dey &lt;megha.dey@linux.intel.com&gt;
Reviewed-by: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Reviewed-by: Tim Chen &lt;tim.c.chen@linux.intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
