mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
To: johannes@sipsolutions.net
Cc: davem@davemloft.net, emmanuel.grumbach@intel.com,
	herbert@gondor.apana.org.au, ilan.peer@intel.com,
	jtornosm@redhat.com, linux-crypto@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org,
	miriam.rachel.korenblit@intel.com
Subject: Re: [PATCH v2 0/5] wifi: add opt-in FIPS exception for iwlwifi
Date: Fri,  2 Oct 2026 12:45:12 +0200	[thread overview]
Message-ID: <20261002104512.307060-1-jtornosm@redhat.com> (raw)
In-Reply-To: <4ede9873924541b7bed3fc09f5b8c8eb0415ea40.camel@sipsolutions.net>

Hi Johannes,

> A-MSDU size is definitely dependent on PTK since A-MSDU splitting
> requires hardware crypto, and otherwise the RX buffers aren't big
> enough (by default, but it's not worth the complexity, and people won't
> want to do big allocations anyway).

Ok, A-MSDU stays out.

> EHT requires MFP and beacon protection, beacon protection requires
> checking in firmware since firmware reacts to beacon frames.

Understood, so Beacon Protection needs BIGTK offloaded to firmware.
With the approach of IGTK/BIGTK to firmware, this should be
possible, and then EHT can be re-enabled.

> 6 GHz was documented in the code.

Ok, I will check the code comments for that dependency.

> MLO needs EHT and then transitively that was disabled.

Clear, the chain is MLO -> EHT -> MFP + Beacon Protection.

> The biggest question then remains what MFP gaps you create with this. I
> _think_ you might even have to install random keys to the firmware, but
> ... then maybe it wouldn't even pass certain frames to the driver? I'm
> not sure you want to accept a loss of MFP security.

This is the part I am investigating now. Without PTK in firmware,
firmware-autonomous TX management frames (like AddBA) would be
unprotected, that is the accepted trade-off. For RX, the question
is whether firmware forwards protected unicast management frames
to mac80211 for SW decryption or drops them. I am testing this.

About random keys, I think that would cause firmware to attempt
decryption with wrong keys and corrupt or drop the frames, so
probably not a viable path, but needs to be tested.

Regarding MFP security, the intention is not to lose it but to
handle it in software where possible. I think the only gap would be
firmware-autonomous frames that bypass mac80211, but of course I
need to confirm it.

Thank you for your help again

Best regards
Jose Ignacio


      reply	other threads:[~2026-10-02 10:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-30 12:08 Jose Ignacio Tornos Martinez
2026-09-30 12:08 ` [PATCH v2 1/5] crypto: fips: add fips_exception kernel boot parameter and fips_allows() helper Jose Ignacio Tornos Martinez
2026-09-30 12:08 ` [PATCH v2 2/5] wifi: mac80211: allow keys to driver with fips_exception Jose Ignacio Tornos Martinez
2026-09-30 12:08 ` [PATCH v2 3/5] wifi: iwlwifi: restore FIPS-disabled features " Jose Ignacio Tornos Martinez
2026-09-30 12:08 ` [PATCH v2 4/5] wifi: iwlwifi: use software crypto for management frames in FIPS exception mode Jose Ignacio Tornos Martinez
2026-09-30 12:08 ` [PATCH v2 5/5] wifi: iwlwifi: reduce encryption error message to debug level in FIPS mode Jose Ignacio Tornos Martinez
2026-10-01  7:37 ` [PATCH v2 0/5] wifi: add opt-in FIPS exception for iwlwifi Johannes Berg
2026-10-01 13:08   ` Jose Ignacio Tornos Martinez
2026-10-01 14:06     ` Johannes Berg
2026-10-01 15:59       ` Jose Ignacio Tornos Martinez
2026-10-01 16:19         ` Johannes Berg
2026-10-01 18:52           ` Jose Ignacio Tornos Martinez
2026-10-01 20:22             ` Johannes Berg
2026-10-02 10:45               ` Jose Ignacio Tornos Martinez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261002104512.307060-1-jtornosm@redhat.com \
    --to=jtornosm@redhat.com \
    --cc=davem@davemloft.net \
    --cc=emmanuel.grumbach@intel.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=ilan.peer@intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=miriam.rachel.korenblit@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®