<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/aes_cmac.h, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-11-20T10:56:19Z</updated>
<entry>
<title>wifi: mac80211: refactor CMAC crypt functions</title>
<updated>2025-11-20T10:56:19Z</updated>
<author>
<name>Chien Wong</name>
</author>
<published>2025-11-13T14:05:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a22fb19244cb2425b075106541bd5b3eee42730c'/>
<id>urn:sha1:a22fb19244cb2425b075106541bd5b3eee42730c</id>
<content type='text'>
ieee80211_aes_cmac() and ieee80211_aes_cmac_256() are almost the same.
Merge them. This removes duplication.

Signed-off-by: Chien Wong &lt;m@xv97.com&gt;
Link: https://patch.msgid.link/20251113140511.48658-5-m@xv97.com
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>wifi: mac80211: fix CMAC functions not handling errors</title>
<updated>2025-11-20T10:56:18Z</updated>
<author>
<name>Chien Wong</name>
</author>
<published>2025-11-13T14:05:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=353cda30d30e5dc7cacf8de5d2546724708ae3bb'/>
<id>urn:sha1:353cda30d30e5dc7cacf8de5d2546724708ae3bb</id>
<content type='text'>
The called hash functions could fail thus we should check return values.

Fixes: 26717828b75d ("mac80211: aes-cmac: switch to shash CMAC driver")
Signed-off-by: Chien Wong &lt;m@xv97.com&gt;
Link: https://patch.msgid.link/20251113140511.48658-2-m@xv97.com
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500</title>
<updated>2019-06-19T15:09:55Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2019-06-04T08:11:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2912cb15bdda8ba4a5dd73396ad62641af2f520'/>
<id>urn:sha1:d2912cb15bdda8ba4a5dd73396ad62641af2f520</id>
<content type='text'>
Based on 2 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 version 2 as
  published by the free software foundation

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foundation #

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Enrico Weigelt &lt;info@metux.net&gt;
Reviewed-by: Kate Stewart &lt;kstewart@linuxfoundation.org&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mac80211: aes-cmac: switch to shash CMAC driver</title>
<updated>2017-02-08T08:19:33Z</updated>
<author>
<name>Ard Biesheuvel</name>
</author>
<published>2017-02-06T10:49:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=26717828b75dd5c46e97f7f4a9b937d038bb2852'/>
<id>urn:sha1:26717828b75dd5c46e97f7f4a9b937d038bb2852</id>
<content type='text'>
Instead of open coding the CMAC algorithm in the mac80211 driver using
byte wide xors and calls into the crypto layer for each block of data,
instantiate a cmac(aes) synchronous hash and pass all the data into it
directly. This does not only simplify the code, it also allows the use
of more efficient and more secure implementations, especially on
platforms where SIMD ciphers have a considerable setup cost.

Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: fils_aead: Use crypto api CMAC shash rather than bare cipher</title>
<updated>2017-02-08T08:19:17Z</updated>
<author>
<name>Ard Biesheuvel</name>
</author>
<published>2017-02-06T10:49:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe8de3da13bdbcbe8b583a3bbadf677da0f04f83'/>
<id>urn:sha1:fe8de3da13bdbcbe8b583a3bbadf677da0f04f83</id>
<content type='text'>
Switch the FILS AEAD code to use a cmac(aes) shash instantiated by the
crypto API rather than reusing the open coded implementation in
aes_cmac_vector(). This makes the code more understandable, and allows
platforms to implement cmac(aes) in a more secure (*) and efficient way
than is typically possible when using the AES cipher directly.

So replace the crypto_cipher by a crypto_shash, and update the aes_s2v()
routine to call the shash interface directly.

* In particular, the generic table based AES implementation is sensitive
  to known-plaintext timing attacks on the key, to which AES based MAC
  algorithms are especially vulnerable, given that their plaintext is not
  usually secret. Time invariant alternatives are available (e.g., based
  on SIMD algorithms), but may incur a setup cost that is prohibitive when
  operating on a single block at a time, which is why they don't usually
  expose the cipher API.

Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: FILS AEAD protection for station mode association frames</title>
<updated>2016-10-27T14:03:25Z</updated>
<author>
<name>Jouni Malinen</name>
</author>
<published>2016-10-26T21:42:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39404feee691a2dc524a629ed6eb5cfe5d8898d1'/>
<id>urn:sha1:39404feee691a2dc524a629ed6eb5cfe5d8898d1</id>
<content type='text'>
This adds support for encrypting (Re)Association Request frame and
decryption (Re)Association Response frame when using FILS in station
mode.

Signed-off-by: Jouni Malinen &lt;jouni@qca.qualcomm.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80111: Add BIP-CMAC-256 cipher</title>
<updated>2015-01-27T10:09:13Z</updated>
<author>
<name>Jouni Malinen</name>
</author>
<published>2015-01-24T17:52:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=56c52da2d554f081e8fce58ecbcf6a40c605b95b'/>
<id>urn:sha1:56c52da2d554f081e8fce58ecbcf6a40c605b95b</id>
<content type='text'>
This allows mac80211 to configure BIP-CMAC-256 to the driver and also
use software-implementation within mac80211 when the driver does not
support this with hardware accelaration.

Signed-off-by: Jouni Malinen &lt;jouni@qca.qualcomm.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: fix checkpatch errors</title>
<updated>2013-12-18T09:33:06Z</updated>
<author>
<name>Weilong Chen</name>
</author>
<published>2013-12-18T07:44:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f359d3fe832e49eeec2232b2af5a9e3aee6b4862'/>
<id>urn:sha1:f359d3fe832e49eeec2232b2af5a9e3aee6b4862</id>
<content type='text'>
Fix a number of different checkpatch errors.

Signed-off-by: Weilong Chen &lt;chenweilong@huawei.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: fix CMAC races</title>
<updated>2011-07-08T15:11:20Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2011-07-06T20:00:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75396ae6d433b49482e377e6f8dbf1f42ad53f3a'/>
<id>urn:sha1:75396ae6d433b49482e377e6f8dbf1f42ad53f3a</id>
<content type='text'>
Just like TKIP and CCMP, CMAC has the PN race.
It might not actually be possible to hit it now
since there aren't multiple ACs for management
frames, but fix it anyway.

Also move scratch buffers onto the stack.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: 802.11w - Add BIP (AES-128-CMAC)</title>
<updated>2009-01-29T21:00:02Z</updated>
<author>
<name>Jouni Malinen</name>
</author>
<published>2009-01-08T11:32:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=765cb46a3fc856245ea68a7c961ac87c77e4ae2d'/>
<id>urn:sha1:765cb46a3fc856245ea68a7c961ac87c77e4ae2d</id>
<content type='text'>
Implement Broadcast/Multicast Integrity Protocol for management frame
protection. This patch adds the needed definitions for the new
information element (MMIE) and implementation for the new "encryption"
type (though, BIP is actually not encrypting data, it provides only
integrity protection). These routines will be used by a follow-on patch
that enables BIP for multicast/broadcast robust management frames.

Signed-off-by: Jouni Malinen &lt;j@w1.fi&gt;
Acked-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
</feed>
