<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/crypto/sunxi-ss, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-01-04T12:34:17Z</updated>
<entry>
<title>crypto: sun4i-ss - Fix 64-bit size_t warnings on sun4i-ss-hash.c</title>
<updated>2020-01-04T12:34:17Z</updated>
<author>
<name>Corentin Labbe</name>
</author>
<published>2019-11-14T10:49:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=394432e474d701beb2c7076b02e9b6341ffdeab0'/>
<id>urn:sha1:394432e474d701beb2c7076b02e9b6341ffdeab0</id>
<content type='text'>
[ Upstream commit a7126603d46fe8f01aeedf589e071c6aaa6c6c39 ]

If you try to compile this driver on a 64-bit platform then you
will get warnings because it mixes size_t with unsigned int which
only works on 32-bit.

This patch fixes all of the warnings on sun4i-ss-hash.c.
Signed-off-by: Corentin Labbe &lt;clabbe.montjoie@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>crypto: sunxi-ss - Add MODULE_ALIAS to sun4i-ss</title>
<updated>2018-05-30T05:49:16Z</updated>
<author>
<name>Peter Robinson</name>
</author>
<published>2018-02-11T23:15:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76b8865f976d70292b65a6ee0062f545e246307c'/>
<id>urn:sha1:76b8865f976d70292b65a6ee0062f545e246307c</id>
<content type='text'>
[ Upstream commit 7c73cf4cc2ac16465f5102437dc0a12d66671bd6 ]

The MODULE_ALIAS is required to enable the sun4i-ss driver to load
automatically when built at a module. Tested on a Cubietruck.

Fixes: 6298e948215f ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator")
Signed-off-by: Peter Robinson &lt;pbrobinson@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>crypto: sun4i-ss - Replace spinlock_bh by spin_lock_irq{save|restore}</title>
<updated>2016-06-01T19:15:49Z</updated>
<author>
<name>Corentin LABBE</name>
</author>
<published>2016-03-23T15:11:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a80e1fbf11b6564a9f762841b5f497c0a72720d3'/>
<id>urn:sha1:a80e1fbf11b6564a9f762841b5f497c0a72720d3</id>
<content type='text'>
commit bdb6cf9f6fe6d9af905ea34b7c4bb78ea601329e upstream.

The current sun4i-ss driver could generate data corruption when ciphering/deciphering.
It occurs randomly on end of handled data.
No root cause have been found and the only way to remove it is to replace
all spin_lock_bh by their irq counterparts.

Fixes: 6298e948215f ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator")
Signed-off-by: LABBE Corentin &lt;clabbe.montjoie@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>crypto: sun4i-ss - add missing statesize</title>
<updated>2016-02-17T20:30:55Z</updated>
<author>
<name>LABBE Corentin</name>
</author>
<published>2015-11-16T08:35:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6abc65624a647f5e27d2dbccff03335f3c28504a'/>
<id>urn:sha1:6abc65624a647f5e27d2dbccff03335f3c28504a</id>
<content type='text'>
commit 4f9ea86604e3ba64edd2817795798168fbb3c1a6 upstream.

sun4i-ss implementaton of md5/sha1 is via ahash algorithms.
Commit 8996eafdcbad ("crypto: ahash - ensure statesize is non-zero")
made impossible to load them without giving statesize. This patch
specifiy statesize for sha1 and md5.

Fixes: 6298e948215f ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator")
Tested-by: Chen-Yu Tsai &lt;wens@csie.org&gt;
Signed-off-by: LABBE Corentin &lt;clabbe.montjoie@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>crypto: sunxi-ss - Fix a possible driver hang with ciphers</title>
<updated>2015-09-10T09:22:55Z</updated>
<author>
<name>LABBE Corentin</name>
</author>
<published>2015-09-09T12:27:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9da75de030bb6e49475ef37c8495d07e98cfeb33'/>
<id>urn:sha1:9da75de030bb6e49475ef37c8495d07e98cfeb33</id>
<content type='text'>
The sun4i_ss_opti_poll function cipher data until the output miter have
a length of 0.
If the crypto API client, give more SGs than necessary this could result
in an infinite loop.
Fix it by checking for remaining bytes, just like sun4i_ss_cipher_poll().

Signed-off-by: LABBE Corentin &lt;clabbe.montjoie@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sunxi-ss - Add optional reset control support</title>
<updated>2015-08-13T07:13:23Z</updated>
<author>
<name>Chen-Yu Tsai</name>
</author>
<published>2015-08-11T05:32:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ab64628bb4ab139aea9f1238ce6f945be580773'/>
<id>urn:sha1:7ab64628bb4ab139aea9f1238ce6f945be580773</id>
<content type='text'>
On sun6i and later platforms, the reset control is split out of the
clock gates. Add support for an optional reset control.

Signed-off-by: Chen-Yu Tsai &lt;wens@csie.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sunxi-ss - Add Allwinner Security System crypto accelerator</title>
<updated>2015-07-20T07:54:08Z</updated>
<author>
<name>LABBE Corentin</name>
</author>
<published>2015-07-17T14:39:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6298e948215f2a3eb8a9af5c490d025deb66f179'/>
<id>urn:sha1:6298e948215f2a3eb8a9af5c490d025deb66f179</id>
<content type='text'>
Add support for the Security System included in Allwinner SoC A20.
The Security System is a hardware cryptographic accelerator that support:
- MD5 and SHA1 hash algorithms
- AES block cipher in CBC/ECB mode with 128/196/256bits keys.
- DES and 3DES block cipher in CBC/ECB mode

Signed-off-by: LABBE Corentin &lt;clabbe.montjoie@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
