]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'macsec-clear-encryption-keys-in-h-w-drivers'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 10 Nov 2022 10:58:54 +0000 (11:58 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 10 Nov 2022 10:58:54 +0000 (11:58 +0100)
commit35f7f56ffe29dfbd661250e1a41920ad1253c574
tree242fa1fc829a29f0b9156659be7c605ff751c8e5
parent3d4c8f9055ad7812c2a47a3df88da6141598817b
parent11bd2d5c1a007b6cc8de8a8e8c2b874c7f1c455c
Merge branch 'macsec-clear-encryption-keys-in-h-w-drivers'

Antoine Tenart says:

====================
macsec: clear encryption keys in h/w drivers

Commit 5d6d7cda5f0c ("macsec: clear encryption keys from the stack after
setting up offload") made sure to clean encryption keys from the stack
after setting up offloading but some h/w drivers did a copy of the key
which need to be zeroed as well.

The MSCC PHY driver can actually be converted not to copy the encryption
key at all, but such patch would be quite difficult to backport. I'll
send a following up patch doing this in net-next once this series lands.

Tested on the MSCC PHY but not on the atlantic NIC.
====================

Link: https://lore.kernel.org/r/20221108153459.811293-1-atenart@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>