<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/ccree, branch v4.14</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>staging: ccree: save ciphertext for CTS IV</title>
<updated>2017-08-23T23:22:35+00:00</updated>
<author>
<name>Gilad Ben-Yossef</name>
<email>gilad@benyossef.com</email>
</author>
<published>2017-08-23T09:12:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=737aed947f9b5bd749a2684e13572ee99a1b8bae'/>
<id>737aed947f9b5bd749a2684e13572ee99a1b8bae</id>
<content type='text'>
The crypto API requires saving the last blocks of ciphertext
in req-&gt;info for use as IV for CTS mode. The ccree driver
was not doing this. This patch fixes that.

The bug was manifested with cts(cbc(aes)) mode in tcrypt tests.

Fixes: 302ef8ebb4b2 ("Add CryptoCell skcipher support")
Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The crypto API requires saving the last blocks of ciphertext
in req-&gt;info for use as IV for CTS mode. The ccree driver
was not doing this. This patch fixes that.

The bug was manifested with cts(cbc(aes)) mode in tcrypt tests.

Fixes: 302ef8ebb4b2 ("Add CryptoCell skcipher support")
Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ccree: constify dev_pm_ops structures.</title>
<updated>2017-08-16T22:10:42+00:00</updated>
<author>
<name>Arvind Yadav</name>
<email>arvind.yadav.cs@gmail.com</email>
</author>
<published>2017-08-08T09:23:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=22d82cb952f3c949078c6df4b0a5ea719b18cadc'/>
<id>22d82cb952f3c949078c6df4b0a5ea719b18cadc</id>
<content type='text'>
dev_pm_ops are not supposed to change at runtime. All functions
working with dev_pm_ops provided by &lt;linux/device.h&gt; work with const
dev_pm_ops. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav &lt;arvind.yadav.cs@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dev_pm_ops are not supposed to change at runtime. All functions
working with dev_pm_ops provided by &lt;linux/device.h&gt; work with const
dev_pm_ops. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav &lt;arvind.yadav.cs@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ccree: Use sizeof(variable) in memory allocs</title>
<updated>2017-08-16T22:10:42+00:00</updated>
<author>
<name>Simon Sandström</name>
<email>simon@nikanor.nu</email>
</author>
<published>2017-07-30T20:29:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8bf48512916a3fce7201f7d469d304a7824a87d4'/>
<id>8bf48512916a3fce7201f7d469d304a7824a87d4</id>
<content type='text'>
Fixes 9 checkpatch.pl warnings of type
"Prefer kmalloc(sizeof(variable)...) over kmalloc(sizeof(type)...)"
in staging/ccree.

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes 9 checkpatch.pl warnings of type
"Prefer kmalloc(sizeof(variable)...) over kmalloc(sizeof(type)...)"
in staging/ccree.

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ccree: Fix unnecessary NULL check before kfree'ing it</title>
<updated>2017-07-28T04:55:24+00:00</updated>
<author>
<name>Suniel Mahesh</name>
<email>sunil.m@techveda.org</email>
</author>
<published>2017-07-20T13:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a7b1ba23556215952099274a0f008643de832f70'/>
<id>a7b1ba23556215952099274a0f008643de832f70</id>
<content type='text'>
kfree(NULL) is safe and their is no need for a NULL check. Pointed out
by checkpatch.

Signed-off-by: Suniel Mahesh &lt;sunil.m@techveda.org&gt;
Acked-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
kfree(NULL) is safe and their is no need for a NULL check. Pointed out
by checkpatch.

Signed-off-by: Suniel Mahesh &lt;sunil.m@techveda.org&gt;
Acked-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ccree: remove func name from log messages</title>
<updated>2017-07-28T04:54:06+00:00</updated>
<author>
<name>Gilad Ben-Yossef</name>
<email>gilad@benyossef.com</email>
</author>
<published>2017-07-27T10:43:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4a457c1710ab6cf9885b93a9aa93e8718abaca45'/>
<id>4a457c1710ab6cf9885b93a9aa93e8718abaca45</id>
<content type='text'>
The SSI_LOG macros already add __func__ to log messages, so remove
log message that add them a second time in the log message itself.

Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The SSI_LOG macros already add __func__ to log messages, so remove
log message that add them a second time in the log message itself.

Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ccree: Fix alignment issues in ssi_request_mgr.c</title>
<updated>2017-07-28T04:53:22+00:00</updated>
<author>
<name>Simon Sandström</name>
<email>simon@nikanor.nu</email>
</author>
<published>2017-07-18T20:03:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=28471424d1ce1b0fecbe788b1e283f52992b91ef'/>
<id>28471424d1ce1b0fecbe788b1e283f52992b91ef</id>
<content type='text'>
Fixes checkpatch.pl alignment warnings.

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes checkpatch.pl alignment warnings.

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ccree: Fix alignment issues in ssi_ivgen.c</title>
<updated>2017-07-28T04:53:22+00:00</updated>
<author>
<name>Simon Sandström</name>
<email>simon@nikanor.nu</email>
</author>
<published>2017-07-18T20:03:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e7ced775dc5620d90a9396bb434ce3f972a8c2be'/>
<id>e7ced775dc5620d90a9396bb434ce3f972a8c2be</id>
<content type='text'>
Fixes checkpatch.pl alignment warnings.

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes checkpatch.pl alignment warnings.

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ccree: Fix alignment issues in ssi_cipher.c</title>
<updated>2017-07-28T04:53:21+00:00</updated>
<author>
<name>Simon Sandström</name>
<email>simon@nikanor.nu</email>
</author>
<published>2017-07-18T20:03:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=32fabb034fdec213b087cdab1c7605f577ba5c60'/>
<id>32fabb034fdec213b087cdab1c7605f577ba5c60</id>
<content type='text'>
Fixes checkpatch.pl alignment warnings.

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes checkpatch.pl alignment warnings.

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ccree: Fix alignment issues in ssi_buffer_mgr.c</title>
<updated>2017-07-28T04:53:21+00:00</updated>
<author>
<name>Simon Sandström</name>
<email>simon@nikanor.nu</email>
</author>
<published>2017-07-18T20:03:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4ff66c46b04ccd207c1f7ffd8393743261fe8fd6'/>
<id>4ff66c46b04ccd207c1f7ffd8393743261fe8fd6</id>
<content type='text'>
Fixes checkpatch.pl alignment warnings.

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes checkpatch.pl alignment warnings.

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ccree: Fix alignment issues in ssi_hash.c</title>
<updated>2017-07-28T04:53:21+00:00</updated>
<author>
<name>Simon Sandström</name>
<email>simon@nikanor.nu</email>
</author>
<published>2017-07-18T20:03:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=3151c1df14e685dd2c27de7bec02b29029cfc837'/>
<id>3151c1df14e685dd2c27de7bec02b29029cfc837</id>
<content type='text'>
Fixes checkpatch.pl alignment warnings.

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes checkpatch.pl alignment warnings.

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
