<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/crypto/allwinner, branch linux-5.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-04-08T12:05:40Z</updated>
<entry>
<title>crypto: sun8i-ce - call finalize with bh disabled</title>
<updated>2022-04-08T12:05:40Z</updated>
<author>
<name>Corentin Labbe</name>
</author>
<published>2022-02-21T12:08:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=86dd989a507d79576b40a5e908c2b326ec61db4d'/>
<id>urn:sha1:86dd989a507d79576b40a5e908c2b326ec61db4d</id>
<content type='text'>
[ Upstream commit f75a749b6d78aeae2ce90e14fcc4b7b3ba46126d ]

Doing ipsec produces a spinlock recursion warning.
This is due to not disabling BH during crypto completion function.

Fixes: 06f751b61329 ("crypto: allwinner - Add sun8i-ce Crypto Engine")
Signed-off-by: Corentin Labbe &lt;clabbe@baylibre.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: sun8i-ss - call finalize with bh disabled</title>
<updated>2022-04-08T12:05:40Z</updated>
<author>
<name>Corentin Labbe</name>
</author>
<published>2022-02-21T12:08:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c5e24990503040001503c74f2003e610895c05de'/>
<id>urn:sha1:c5e24990503040001503c74f2003e610895c05de</id>
<content type='text'>
[ Upstream commit b169b3766242b6f3336e24a6c8ee1522978b57a7 ]

Doing ipsec produces a spinlock recursion warning.
This is due to not disabling BH during crypto completion function.

Fixes: f08fcced6d00 ("crypto: allwinner - Add sun8i-ss cryptographic offloader")
Signed-off-by: Corentin Labbe &lt;clabbe@baylibre.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: sun8i-ss - really disable hash on A80</title>
<updated>2022-04-08T12:05:37Z</updated>
<author>
<name>Corentin Labbe</name>
</author>
<published>2022-01-15T10:07:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=752f9aef66d12e300e3f3688ebf56285b9213934'/>
<id>urn:sha1:752f9aef66d12e300e3f3688ebf56285b9213934</id>
<content type='text'>
[ Upstream commit 881fc7fba6c3e7d77d608b9a50b01a89d5e0c61b ]

When adding hashes support to sun8i-ss, I have added them only on A83T.
But I forgot that 0 is a valid algorithm ID, so hashes are enabled on A80 but
with an incorrect ID.
Anyway, even with correct IDs, hashes do not work on A80 and I cannot
find why.
So let's disable all of them on A80.

Fixes: d9b45418a917 ("crypto: sun8i-ss - support hash algorithms")
Signed-off-by: Corentin Labbe &lt;clabbe@baylibre.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: sun8i-ce - use kfree_sensitive to clear and free sensitive data</title>
<updated>2021-08-12T11:16:57Z</updated>
<author>
<name>Jason Wang</name>
</author>
<published>2021-08-03T12:55:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c391714c04971f5f68e3685bd7da940c9b90036d'/>
<id>urn:sha1:c391714c04971f5f68e3685bd7da940c9b90036d</id>
<content type='text'>
The kfree_sensitive is a kernel API to clear sensitive information
that should not be leaked to other future users of the same memory
objects and free the memory. Its function is the same as the
combination  of memzero_explicit and kfree. Thus, we can replace the
combination APIs with the single kfree_sensitive API.

Signed-off-by: Jason Wang &lt;wangborong@cdjrlc.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sun8i-ss - Use kfree_sensitive</title>
<updated>2021-07-30T02:58:35Z</updated>
<author>
<name>Jason Wang</name>
</author>
<published>2021-07-20T13:01:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=192b722f3866d3fb45b9e6a6ecd02ff09f2aefbe'/>
<id>urn:sha1:192b722f3866d3fb45b9e6a6ecd02ff09f2aefbe</id>
<content type='text'>
The kfree_sensitive is a kernel API to clear sensitive information
that should not be leaked to other future users of the same memory
objects and free the memory. Its function is the same as the
combination of memzero_explicit and kfree. Thus, we can replace the
combination APIs with the single kfree_sensitive API.

Signed-off-by: Jason Wang &lt;wangborong@cdjrlc.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe()</title>
<updated>2021-04-16T11:16:33Z</updated>
<author>
<name>Shixin Liu</name>
</author>
<published>2021-04-08T07:18:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc987ae9150c255352660d235ab27c834aa527be'/>
<id>urn:sha1:cc987ae9150c255352660d235ab27c834aa527be</id>
<content type='text'>
pm_runtime_get_sync will increment pm usage counter even it failed.
Forgetting to putting operation will result in reference leak here.
Fix it by replacing it with pm_runtime_resume_and_get to keep usage
counter balanced.

Signed-off-by: Shixin Liu &lt;liushixin2@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails</title>
<updated>2021-04-16T11:16:32Z</updated>
<author>
<name>Shixin Liu</name>
</author>
<published>2021-04-08T07:18:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06cd7423cf451d68bfab289278d7890c9ae01a14'/>
<id>urn:sha1:06cd7423cf451d68bfab289278d7890c9ae01a14</id>
<content type='text'>
pm_runtime_get_sync will increment pm usage counter even it failed.
Forgetting to putting operation will result in reference leak here.
Fix it by replacing it with pm_runtime_resume_and_get to keep usage
counter balanced.

Signed-off-by: Shixin Liu &lt;liushixin2@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sun4i-ss - Fix PM reference leak when pm_runtime_get_sync() fails</title>
<updated>2021-04-16T11:16:32Z</updated>
<author>
<name>Shixin Liu</name>
</author>
<published>2021-04-08T07:18:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac98fc5e1c321112dab9ccac9df892c154540f5d'/>
<id>urn:sha1:ac98fc5e1c321112dab9ccac9df892c154540f5d</id>
<content type='text'>
pm_runtime_get_sync will increment pm usage counter even it failed.
Forgetting to putting operation will result in reference leak here.
Fix it by replacing it with pm_runtime_resume_and_get to keep usage
counter balanced.

Signed-off-by: Shixin Liu &lt;liushixin2@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sun8i-ss - Fix memory leak of pad</title>
<updated>2021-04-09T07:45:13Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2021-04-01T15:18:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50274b01ac1689b1a3f6bc4b5b3dbf361a55dd3a'/>
<id>urn:sha1:50274b01ac1689b1a3f6bc4b5b3dbf361a55dd3a</id>
<content type='text'>
It appears there are several failure return paths that don't seem
to be free'ing pad. Fix these.

Addresses-Coverity: ("Resource leak")
Fixes: d9b45418a917 ("crypto: sun8i-ss - support hash algorithms")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&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>
<entry>
<title>crypto: allwinner - add missing CRYPTO_ prefix</title>
<updated>2021-04-09T07:41:05Z</updated>
<author>
<name>Corentin Labbe</name>
</author>
<published>2021-03-29T20:12:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac1af1a788b2002eb9d6f5ca6054517ad27f1930'/>
<id>urn:sha1:ac1af1a788b2002eb9d6f5ca6054517ad27f1930</id>
<content type='text'>
Some CONFIG select miss CRYPTO_.

Reported-by: Chen-Yu Tsai &lt;wens@csie.org&gt;
Fixes: 56f6d5aee88d1 ("crypto: sun8i-ce - support hash algorithms")
Fixes: d9b45418a9177 ("crypto: sun8i-ss - support hash algorithms")
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>
</feed>
