<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/crypto/sa2ul.c, branch linux-5.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-10-29T09:11:07Z</updated>
<entry>
<title>crypto: sa2ul - Fix pm_runtime_get_sync() error checking</title>
<updated>2020-10-29T09:11:07Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2020-09-09T09:45:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ece2c1f2b762817748a7c40867492836dd58f5b'/>
<id>urn:sha1:4ece2c1f2b762817748a7c40867492836dd58f5b</id>
<content type='text'>
[ Upstream commit 2baace5feb86c6916221911f391f11fcd8e1a259 ]

The pm_runtime_get_sync() function returns either 0 or 1 on success but
this code treats a return of 1 as a failure.

Fixes: 7694b6ca649f ("crypto: sa2ul - Add crypto driver")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.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: sa2ul - fix compiler warning produced by clang</title>
<updated>2020-10-29T09:11:06Z</updated>
<author>
<name>Tero Kristo</name>
</author>
<published>2020-08-25T13:31:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=575a1cc649e7bbded3ec90c9d131df7b4f10c290'/>
<id>urn:sha1:575a1cc649e7bbded3ec90c9d131df7b4f10c290</id>
<content type='text'>
[ Upstream commit 17bce37e1b5eca95f9da783a07930b6d608c1389 ]

Clang detects a warning for an assignment that doesn't really do
anything. Fix this by removing the offending piece of code.

Fixes: 7694b6ca649f ("crypto: sa2ul - Add crypto driver")
Reported-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;
Signed-off-by: Tero Kristo &lt;t-kristo@ti.com&gt;
Reviewed-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;
Tested-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt; # build
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: sa2ul - Fix inconsistent IS_ERR and PTR_ERR</title>
<updated>2020-07-31T08:25:29Z</updated>
<author>
<name>Gustavo A. R. Silva</name>
</author>
<published>2020-07-24T16:50:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3cbfe80737c18ac6e635421ab676716a393d3074'/>
<id>urn:sha1:3cbfe80737c18ac6e635421ab676716a393d3074</id>
<content type='text'>
Fix inconsistent IS_ERR and PTR_ERR in sa_dma_init(). The proper pointer
to be passed as argument to PTR_ERR() is dd-&gt;dma_tx.

This bug was detected with the help of Coccinelle.

Fixes: 7694b6ca649f ("crypto: sa2ul - Add crypto driver")
Signed-off-by: Gustavo A. R. Silva &lt;gustavoars@kernel.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sa2ul - add device links to child devices</title>
<updated>2020-07-23T07:34:17Z</updated>
<author>
<name>Tero Kristo</name>
</author>
<published>2020-07-13T08:34:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fd92028e4c0cbbe498cc622369baff6b395e88e6'/>
<id>urn:sha1:fd92028e4c0cbbe498cc622369baff6b395e88e6</id>
<content type='text'>
The child devices for sa2ul (like the RNG) have hard dependency towards
the parent, they can't function without the parent enabled. Add device
link for this purpose so that the dependencies are taken care of properly.

Signed-off-by: Tero Kristo &lt;t-kristo@ti.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sa2ul - Add AEAD algorithm support</title>
<updated>2020-07-23T07:34:17Z</updated>
<author>
<name>Keerthy</name>
</author>
<published>2020-07-13T08:34:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2c8ac187fc922e73930a1b2f6a211e27f595d01'/>
<id>urn:sha1:d2c8ac187fc922e73930a1b2f6a211e27f595d01</id>
<content type='text'>
Add support for sa2ul hardware AEAD for hmac(sha256),cbc(aes) and
hmac(sha1),cbc(aes) algorithms.

Signed-off-by: Keerthy &lt;j-keerthy@ti.com&gt;
[t-kristo@ti.com: number of bug fixes, major refactoring and cleanup of
 code]
Signed-off-by: Tero Kristo &lt;t-kristo@ti.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sa2ul - add sha1/sha256/sha512 support</title>
<updated>2020-07-23T07:34:17Z</updated>
<author>
<name>Keerthy</name>
</author>
<published>2020-07-13T08:34:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2dc53d0047458e28ed05b4548844ba78199857bf'/>
<id>urn:sha1:2dc53d0047458e28ed05b4548844ba78199857bf</id>
<content type='text'>
Add support for sha1/sha256/sha512 sa2ul based hardware authentication.
With the hash update mechanism, we always use software fallback
mechanism for now, as there is no way to fetch the partial hash state
from the HW accelerator. HW accelerator is only used when digest is
called for a data chunk of known size.

Signed-off-by: Keerthy &lt;j-keerthy@ti.com&gt;
[t-kristo@ti.com: various bug fixes, major cleanups and refactoring of code]
Signed-off-by: Tero Kristo &lt;t-kristo@ti.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: sa2ul - Add crypto driver</title>
<updated>2020-07-23T07:34:16Z</updated>
<author>
<name>Keerthy</name>
</author>
<published>2020-07-13T08:34:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7694b6ca649fead1a57046935711bc82dfc78cfb'/>
<id>urn:sha1:7694b6ca649fead1a57046935711bc82dfc78cfb</id>
<content type='text'>
Adds a basic crypto driver and currently supports AES/3DES
in cbc mode for both encryption and decryption.

Signed-off-by: Keerthy &lt;j-keerthy@ti.com&gt;
[t-kristo@ti.com: major re-work to fix various bugs in the driver and to
 cleanup the code]
Signed-off-by: Tero Kristo &lt;t-kristo@ti.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
