<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/crypto/allwinner, branch linux-5.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-02-11T12:37:00Z</updated>
<entry>
<title>crypto: sun8i-ce - fix removal of module</title>
<updated>2020-02-11T12:37:00Z</updated>
<author>
<name>Corentin Labbe</name>
</author>
<published>2020-01-06T19:30:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=14c93fa239f720b685f0100b1cabb0668aa441f4'/>
<id>urn:sha1:14c93fa239f720b685f0100b1cabb0668aa441f4</id>
<content type='text'>
commit 93d24ac4b26770f8e5118a731cd9314f3808bd10 upstream.

Removing the driver cause an oops due to the fact we clean an extra
channel.
Let's give the right index to the cleaning function.

Fixes: 06f751b61329 ("crypto: allwinner - Add sun8i-ce Crypto Engine")
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: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>crypto: sun8i-ss - fix removal of module</title>
<updated>2020-02-11T12:37:00Z</updated>
<author>
<name>Corentin Labbe</name>
</author>
<published>2020-01-06T19:28:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=415ee076db5c4d67b4bf2ba4c1a701f9635e83b6'/>
<id>urn:sha1:415ee076db5c4d67b4bf2ba4c1a701f9635e83b6</id>
<content type='text'>
commit 7b3d853ead8187288bf99df38ed71ee02773a65f upstream.

Removing the driver cause an oops due to the fact we clean an extra
channel.
Let's give the right index to the cleaning function.
Fixes: f08fcced6d00 ("crypto: allwinner - Add sun8i-ss cryptographic offloader")

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: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>crypto: sun8i-ce - enable working on big endian</title>
<updated>2019-11-22T10:48:38Z</updated>
<author>
<name>Corentin Labbe</name>
</author>
<published>2019-11-17T16:07:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93c7f4d357de68f1e3a998b2fc775466d75c4c07'/>
<id>urn:sha1:93c7f4d357de68f1e3a998b2fc775466d75c4c07</id>
<content type='text'>
On big endian kernel, the sun8i-ce crypto driver does not works.
This patch do the necessary modification to permit it to work on BE
kernel (setting descriptor entries as __le32 and adding some cpu_to_le32)

Fixes: 06f751b61329 ("crypto: allwinner - Add sun8i-ce Crypto Engine")
Signed-off-by: Corentin Labbe &lt;clabbe.montjoie@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sun4i-ss - fix big endian issues</title>
<updated>2019-11-22T10:48:37Z</updated>
<author>
<name>Corentin Labbe</name>
</author>
<published>2019-11-14T12:58:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d1d787bcebfe122a5bd443ae565696661e2e9656'/>
<id>urn:sha1:d1d787bcebfe122a5bd443ae565696661e2e9656</id>
<content type='text'>
When testing BigEndian kernel, the sun4i-ss was failling all crypto
tests.
This patch fix endian issues with it.

Fixes: 6298e948215f ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator")
Signed-off-by: Corentin Labbe &lt;clabbe.montjoie@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sun4i-ss - hide the Invalid keylen message</title>
<updated>2019-11-22T10:48:37Z</updated>
<author>
<name>Corentin Labbe</name>
</author>
<published>2019-11-14T10:58:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2edf86414b66b2cd921547000208b383972cd11a'/>
<id>urn:sha1:2edf86414b66b2cd921547000208b383972cd11a</id>
<content type='text'>
Drop the "Invalid keylen" message to debug level, it adds no value, and
when CRYPTO_EXTRA_TEST is enabled, it floods the console.

Signed-off-by: Corentin Labbe &lt;clabbe.montjoie@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sun4i-ss - use crypto_ahash_digestsize</title>
<updated>2019-11-22T10:48:37Z</updated>
<author>
<name>Corentin Labbe</name>
</author>
<published>2019-11-14T10:58:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=626abd3125e02d75e26f3cd2e2aa4a6fb74507b5'/>
<id>urn:sha1:626abd3125e02d75e26f3cd2e2aa4a6fb74507b5</id>
<content type='text'>
The size of the digest is different between MD5 and SHA1 so instead of
using the higher value (5 words), let's use crypto_ahash_digestsize().

Signed-off-by: Corentin Labbe &lt;clabbe.montjoie@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sun4i-ss - remove dependency on not 64BIT</title>
<updated>2019-11-22T10:48:37Z</updated>
<author>
<name>Corentin Labbe</name>
</author>
<published>2019-11-14T10:49:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ca2a71d177f51d1d0d339657d3b0cc988d1518e'/>
<id>urn:sha1:7ca2a71d177f51d1d0d339657d3b0cc988d1518e</id>
<content type='text'>
The driver now compile without warnings on 64bits, we can remove the
!64BIT condition.

Signed-off-by: Corentin Labbe &lt;clabbe.montjoie@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sun4i-ss - Fix 64-bit size_t warnings on sun4i-ss-hash.c</title>
<updated>2019-11-22T10:48:37Z</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=a7126603d46fe8f01aeedf589e071c6aaa6c6c39'/>
<id>urn:sha1:a7126603d46fe8f01aeedf589e071c6aaa6c6c39</id>
<content type='text'>
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;
</content>
</entry>
<entry>
<title>crypto: sun8i-ce - Fix memdup.cocci warnings</title>
<updated>2019-11-22T10:48:34Z</updated>
<author>
<name>YueHaibing</name>
</author>
<published>2019-11-12T07:23:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7351845b2d685b3ea695f02047bd1b825fb6c98'/>
<id>urn:sha1:c7351845b2d685b3ea695f02047bd1b825fb6c98</id>
<content type='text'>
Use kmemdup rather than duplicating its implementation

Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Acked-by: Corentin Labbe &lt;clabbe.montjoie@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sun4i-ss - Fix 64-bit size_t warnings</title>
<updated>2019-11-22T10:48:34Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2019-11-12T02:38:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6e9da21ee8246b5e556b3b153401ab045adb986'/>
<id>urn:sha1:d6e9da21ee8246b5e556b3b153401ab045adb986</id>
<content type='text'>
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.

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