<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/crypto/ccree/cc_cipher.c, branch linux-4.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-08-17T19:03:48Z</updated>
<entry>
<title>crypto: ccree - fix iv handling</title>
<updated>2018-08-17T19:03:48Z</updated>
<author>
<name>Gilad Ben-Yossef</name>
</author>
<published>2018-07-01T07:02:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9113175ffd1c37036acf9e235e28180f6308ec69'/>
<id>urn:sha1:9113175ffd1c37036acf9e235e28180f6308ec69</id>
<content type='text'>
commit 00904aa0cd59a36d659ec93d272309e2174bcb5b upstream.

We were copying our last cipher block into the request for use as IV for
all modes of operations. Fix this by discerning the behaviour based on
the mode of operation used: copy ciphertext for CBC, update counter for
CTR.

CC: stable@vger.kernel.org
Fixes: 63ee04c8b491 ("crypto: ccree - add skcipher support")
Reported by: Hadar Gat &lt;hadar.gat@arm.com&gt;
Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.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: ccree - enable support for hardware keys</title>
<updated>2018-05-05T06:52:43Z</updated>
<author>
<name>Gilad Ben-Yossef</name>
</author>
<published>2018-04-23T07:25:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a794d8d876d21d165721b5460264ca811245f5bd'/>
<id>urn:sha1:a794d8d876d21d165721b5460264ca811245f5bd</id>
<content type='text'>
Enable CryptoCell support for hardware keys.

Hardware keys are regular AES keys loaded into CryptoCell internal memory
via firmware, often from secure boot ROM or hardware fuses at boot time.

As such, they can be used for enc/dec purposes like any other key but
cannot (read: extremely hard to) be extracted since since they are not
available anywhere in RAM during runtime.

The mechanism has some similarities to s390 secure keys although the keys
are not wrapped or sealed, but simply loaded offline. The interface was
therefore modeled based on the s390 secure keys support.

Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ccree - add support for older HW revs</title>
<updated>2018-03-02T16:03:16Z</updated>
<author>
<name>Gilad Ben-Yossef</name>
</author>
<published>2018-02-19T14:51:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=27b3b22dd98caef023cbaa4871b356e4596a81af'/>
<id>urn:sha1:27b3b22dd98caef023cbaa4871b356e4596a81af</id>
<content type='text'>
Add support for the legacy CryptoCell 630 and 710 revs.

Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ccree - fix memdup.cocci warnings</title>
<updated>2018-02-22T14:17:01Z</updated>
<author>
<name>Fengguang Wu</name>
</author>
<published>2018-02-15T16:40:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=017457061e07852b7173e6a2578c129b49033204'/>
<id>urn:sha1:017457061e07852b7173e6a2578c129b49033204</id>
<content type='text'>
drivers/crypto/ccree/cc_cipher.c:629:15-22: WARNING opportunity for kmemdep

 Use kmemdup rather than duplicating its implementation

Generated by: scripts/coccinelle/api/memdup.cocci

Fixes: 63ee04c8b491 ("crypto: ccree - add skcipher support")
CC: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Signed-off-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ccree - add skcipher support</title>
<updated>2018-02-15T15:26:40Z</updated>
<author>
<name>Gilad Ben-Yossef</name>
</author>
<published>2018-01-22T09:27:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63ee04c8b491ee148489347e7da9fbfd982ca2bb'/>
<id>urn:sha1:63ee04c8b491ee148489347e7da9fbfd982ca2bb</id>
<content type='text'>
Add CryptoCell skcipher support

Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
