lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 15 Nov 2022 15:38:06 +0100
From:   Paolo Abeni <pabeni@...hat.com>
To:     Antoine Tenart <atenart@...nel.org>, davem@...emloft.net,
        kuba@...nel.org, edumazet@...gle.com
Cc:     sd@...asysnail.net, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: phy: mscc: macsec: do not copy encryption
 keys

Hello,

On Mon, 2022-11-14 at 10:20 +0100, Antoine Tenart wrote:
> Instead of calling memzero_explicit on the key when freeing a flow,
> let's simply not copy the key in the first place as it's only used when
> a new flow is set up.
> 
> Signed-off-by: Antoine Tenart <atenart@...nel.org>
> ---
> 
> Following
> https://lore.kernel.org/all/20221108153459.811293-1-atenart@kernel.org/T/
> refactor the MSCC PHY driver not to make a copy the encryption keys.

The patch LGTM, but would you mind including into the commit message a
reference to the -net commit, so that the dependency is there to
simplify eventual backports?

Thanks!

Paolo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ