2023-09-22 17:27:48

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH 1/1] cfg80211: OWE DH IE handling offload

On Fri, 2023-09-22 at 14:55 +0530, Vinayak Yadawad wrote:
> Introduce new feature flags for OWE offload that driver can
> advertise to indicate kernel/application space to avoid DH IE
> handling. When this flag is advertised, the driver/device will
> take care of DH IE inclusion and processing of peer DH IE to
> generate PMK.
>

Seems like you'd also need something that userspace actually says
"please offload this", so you don't end up doing it twice if it's an
older userspace?

johannes

2023-09-23 14:26:02

by Vinayak Yadawad

[permalink] [raw]
Subject: Re: [PATCH 1/1] cfg80211: OWE DH IE handling offload

Hi Johannes,

>Seems like you'd also need something that userspace actually says
>"please offload this", so you don't end up doing it twice if it's an
>older userspace?
If its older user space, the connect context will prepare the DH IEs
and pass it down to the driver
and driver can use it without having to generate again- so no other
indication is required from user space.
With newer user space, the DH IEs won't come down.

Regards,
Vinayak


On Fri, Sep 22, 2023 at 3:01 PM Johannes Berg <[email protected]> wrote:
>
> On Fri, 2023-09-22 at 14:55 +0530, Vinayak Yadawad wrote:
> > Introduce new feature flags for OWE offload that driver can
> > advertise to indicate kernel/application space to avoid DH IE
> > handling. When this flag is advertised, the driver/device will
> > take care of DH IE inclusion and processing of peer DH IE to
> > generate PMK.
> >
>
> Seems like you'd also need something that userspace actually says
> "please offload this", so you don't end up doing it twice if it's an
> older userspace?
>
> johannes


Attachments:
smime.p7s (4.12 kB)
S/MIME Cryptographic Signature