<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/crypto/hisilicon/trng, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/crypto/hisilicon/trng?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/crypto/hisilicon/trng?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-06-17T09:19:20Z</updated>
<entry>
<title>crypto: hisilicon/trng - fix local variable type</title>
<updated>2022-06-17T09:19:20Z</updated>
<author>
<name>Weili Qian</name>
<email>qianweili@huawei.com</email>
</author>
<published>2022-06-09T11:18:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=00856e5391fbfbe00bf641a39f1bf8d1a144367a'/>
<id>urn:sha1:00856e5391fbfbe00bf641a39f1bf8d1a144367a</id>
<content type='text'>
The return value of 'readl_poll_timeout' is '0' or '-ETIMEDOUT'. Therefore,
change the local variable 'ret' type from 'u32' to 'int'.

Signed-off-by: Weili Qian &lt;qianweili@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/trng - add version to adapt new algorithm</title>
<updated>2021-04-16T11:16:31Z</updated>
<author>
<name>Weili Qian</name>
<email>qianweili@huawei.com</email>
</author>
<published>2021-04-07T09:44:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6e57871c3b756029f44caf08815a9cdee871eb59'/>
<id>urn:sha1:6e57871c3b756029f44caf08815a9cdee871eb59</id>
<content type='text'>
Kunpeng930 supports trng and prng, but Kunpeng920 only supports trng.

Therefore, version information is added to ensure that prng is not
registered to Crypto subsystem on Kunpeng920.

Signed-off-by: Weili Qian &lt;qianweili@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/trng - replace atomic_add_return()</title>
<updated>2020-12-11T10:12:05Z</updated>
<author>
<name>Yejune Deng</name>
<email>yejune.deng@gmail.com</email>
</author>
<published>2020-12-01T06:50:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a320dc2ff80b8f93b2b8acf2e3ead8ff5ad0bcff'/>
<id>urn:sha1:a320dc2ff80b8f93b2b8acf2e3ead8ff5ad0bcff</id>
<content type='text'>
a set of atomic_inc_return() looks more neater

Signed-off-by: Yejune Deng &lt;yejune.deng@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/trng - add support for PRNG</title>
<updated>2020-11-27T06:13:43Z</updated>
<author>
<name>Weili Qian</name>
<email>qianweili@huawei.com</email>
</author>
<published>2020-11-20T09:02:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e4d9d10ef4be0366316b3114593e4becf5b98a49'/>
<id>urn:sha1:e4d9d10ef4be0366316b3114593e4becf5b98a49</id>
<content type='text'>
This patch adds support for pseudo random number generator(PRNG)
in Crypto subsystem.

Signed-off-by: Weili Qian &lt;qianweili@huawei.com&gt;
Reviewed-by: Zaibo Xu &lt;xuzaibo@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/trng - add HiSilicon TRNG driver support</title>
<updated>2020-11-27T06:13:43Z</updated>
<author>
<name>Weili Qian</name>
<email>qianweili@huawei.com</email>
</author>
<published>2020-11-20T09:02:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=56c6da16c3631f953fb20d8b7ddccdf493377ad4'/>
<id>urn:sha1:56c6da16c3631f953fb20d8b7ddccdf493377ad4</id>
<content type='text'>
Move existing char/hw_random/hisi-trng-v2.c to crypto/hisilicon/trng.c.

Signed-off-by: Weili Qian &lt;qianweili@huawei.com&gt;
Reviewed-by: Zaibo Xu &lt;xuzaibo@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
