<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/crypto/geode-aes.c, branch linux-5.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-12-13T07:49:28Z</updated>
<entry>
<title>crypto: geode-aes - switch to skcipher for cbc(aes) fallback</title>
<updated>2019-12-13T07:49:28Z</updated>
<author>
<name>Ard Biesheuvel</name>
</author>
<published>2019-10-05T09:11:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6c7af7ba25ccab172e5cea58b664c4752661f22'/>
<id>urn:sha1:d6c7af7ba25ccab172e5cea58b664c4752661f22</id>
<content type='text'>
commit 504582e8e40b90b8f8c58783e2d1e4f6a2b71a3a upstream.

Commit 79c65d179a40e145 ("crypto: cbc - Convert to skcipher") updated
the generic CBC template wrapper from a blkcipher to a skcipher algo,
to get away from the deprecated blkcipher interface. However, as a side
effect, drivers that instantiate CBC transforms using the blkcipher as
a fallback no longer work, since skciphers can wrap blkciphers but not
the other way around. This broke the geode-aes driver.

So let's fix it by moving to the sync skcipher interface when allocating
the fallback. At the same time, align with the generic API for ECB and
CBC by rejecting inputs that are not a multiple of the AES block size.

Fixes: 79c65d179a40e145 ("crypto: cbc - Convert to skcipher")
Cc: &lt;stable@vger.kernel.org&gt; # v4.20+ ONLY
Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Florian Bezdeka &lt;florian@bezdeka.de&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>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152</title>
<updated>2019-05-30T18:26:32Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2019-05-27T06:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2874c5fd284268364ece81a7bd936f3c8168e567'/>
<id>urn:sha1:2874c5fd284268364ece81a7bd936f3c8168e567</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 3029 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>crypto: drop mask=CRYPTO_ALG_ASYNC from 'cipher' tfm allocations</title>
<updated>2018-11-20T06:26:55Z</updated>
<author>
<name>Eric Biggers</name>
</author>
<published>2018-11-14T20:19:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ad0f1603a6b2afb62a1c065409aaa4e43ca7627'/>
<id>urn:sha1:1ad0f1603a6b2afb62a1c065409aaa4e43ca7627</id>
<content type='text'>
'cipher' algorithms (single block ciphers) are always synchronous, so
passing CRYPTO_ALG_ASYNC in the mask to crypto_alloc_cipher() has no
effect.  Many users therefore already don't pass it, but some still do.
This inconsistency can cause confusion, especially since the way the
'mask' argument works is somewhat counterintuitive.

Thus, just remove the unneeded CRYPTO_ALG_ASYNC flags.

This patch shouldn't change any actual behavior.

Signed-off-by: Eric Biggers &lt;ebiggers@google.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: geode-aes - fixed coding style warnings and error</title>
<updated>2017-07-18T10:15:57Z</updated>
<author>
<name>Chris Gorman</name>
</author>
<published>2017-07-06T18:44:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=24086e3d44e1282e64f4bb4801838e554f43a709'/>
<id>urn:sha1:24086e3d44e1282e64f4bb4801838e554f43a709</id>
<content type='text'>
fixed WARNING: Block comments should align the * on each line
fixed WARNINGs: Missing a blank line after declarations
fixed ERROR: space prohibited before that ',' (ctx:WxE)

Signed-off-by: Chris Gorman &lt;chrisjohgorman@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: geode - Don't use tfm-&gt;__crt_alg-&gt;cra_name directly</title>
<updated>2014-05-22T13:03:13Z</updated>
<author>
<name>Marek Vasut</name>
</author>
<published>2014-05-14T09:40:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d207a38cbc520ebac3c945dac3d355edfa04f5e3'/>
<id>urn:sha1:d207a38cbc520ebac3c945dac3d355edfa04f5e3</id>
<content type='text'>
Use a standard accessor instead of directly digging into a structure.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: geode - Weed out printk() from probe()</title>
<updated>2014-05-22T13:03:12Z</updated>
<author>
<name>Marek Vasut</name>
</author>
<published>2014-05-14T09:36:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=701bcbc1892f408aa22b0190f33dd6de063e76aa'/>
<id>urn:sha1:701bcbc1892f408aa22b0190f33dd6de063e76aa</id>
<content type='text'>
Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Dmitry Kasatkin &lt;dmitry.kasatkin@nokia.com&gt;
Cc: Eric Bénard &lt;eric@eukrea.com&gt;
Cc: Jussi Kivilinna &lt;jussi.kivilinna@mbnet.fi&gt;
Cc: Kent Yoder &lt;key@linux.vnet.ibm.com&gt;
Cc: Michal Ludvig &lt;michal@logix.cz&gt;
Cc: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
Cc: Vladimir Zapolskiy &lt;vladimir_zapolskiy@mentor.com&gt;
Cc: linux-geode@lists.infradead.org
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: geode - Kill AES_IV_LENGTH</title>
<updated>2014-05-22T13:03:11Z</updated>
<author>
<name>Marek Vasut</name>
</author>
<published>2014-05-14T09:36:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bac79a2a6189d85f830b424c3b0414a4df5235c2'/>
<id>urn:sha1:bac79a2a6189d85f830b424c3b0414a4df5235c2</id>
<content type='text'>
The AES IV length is always 128bits, just use the define from aes.h

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Dmitry Kasatkin &lt;dmitry.kasatkin@nokia.com&gt;
Cc: Eric Bénard &lt;eric@eukrea.com&gt;
Cc: Jussi Kivilinna &lt;jussi.kivilinna@mbnet.fi&gt;
Cc: Kent Yoder &lt;key@linux.vnet.ibm.com&gt;
Cc: Michal Ludvig &lt;michal@logix.cz&gt;
Cc: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
Cc: Vladimir Zapolskiy &lt;vladimir_zapolskiy@mentor.com&gt;
Cc: linux-geode@lists.infradead.org
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: geode - Kill AES_MIN_BLOCK_SIZE</title>
<updated>2014-05-22T13:03:11Z</updated>
<author>
<name>Marek Vasut</name>
</author>
<published>2014-05-14T09:36:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9d865e331290dab97136413a9cf3465f3391ddf'/>
<id>urn:sha1:b9d865e331290dab97136413a9cf3465f3391ddf</id>
<content type='text'>
This is actually defined in include/crypto/aes.h , no need to have
a a different symbol for the same thing twice.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Dmitry Kasatkin &lt;dmitry.kasatkin@nokia.com&gt;
Cc: Eric Bénard &lt;eric@eukrea.com&gt;
Cc: Jussi Kivilinna &lt;jussi.kivilinna@mbnet.fi&gt;
Cc: Kent Yoder &lt;key@linux.vnet.ibm.com&gt;
Cc: Michal Ludvig &lt;michal@logix.cz&gt;
Cc: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
Cc: Vladimir Zapolskiy &lt;vladimir_zapolskiy@mentor.com&gt;
Cc: linux-geode@lists.infradead.org
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>Drivers: crypto: remove __dev* attributes.</title>
<updated>2013-01-03T23:57:02Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2012-12-21T21:14:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49cfe4db2ddc4d1b32f2bd4910a5a9d7a0e34ae8'/>
<id>urn:sha1:49cfe4db2ddc4d1b32f2bd4910a5a9d7a0e34ae8</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitdata,
and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Kent Yoder &lt;key@linux.vnet.ibm.com&gt;
Cc: Jamie Iles &lt;jamie@jamieiles.com&gt;
Cc: Kim Phillips &lt;kim.phillips@freescale.com&gt;
Cc: Shengzhou Liu &lt;Shengzhou.Liu@freescale.com&gt;
Cc: Alex Porosanu &lt;alexandru.porosanu@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>crypto: geode-aes - Use module_pci_driver</title>
<updated>2012-09-06T20:17:03Z</updated>
<author>
<name>Sachin Kamat</name>
</author>
<published>2012-08-27T10:15:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49d30d3d5fd133a6243acf76c98242a68408a31a'/>
<id>urn:sha1:49d30d3d5fd133a6243acf76c98242a68408a31a</id>
<content type='text'>
module_pci_driver makes the code simpler by eliminating
module_init and module_exit calls.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
