summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDaniel Zahka <daniel.zahka@gmail.com>2026-05-15 20:08:52 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-19 02:27:18 +0300
commit97386a9cf046002b3c89208ab0603f1e631026e3 (patch)
tree49b6042b5f457cd36c734777985a463f8aac9c50 /tools/lib/python
parent5a3a819389ad9ac2baa56402dc272c2e210d215f (diff)
downloadlinux-97386a9cf046002b3c89208ab0603f1e631026e3.tar.xz
netdevsim: psp: reset spi on key rotation and check for exhaustion on alloc
The PSP spec states that the lower 31b of the SPI need to be non-zero. Though not in the spec, I think it is reasonable to reset the lower 31b of the spi space after a key rotation, and to also decline to generate session keys when the lower 31b saturate. Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://patch.msgid.link/20260515-spi-handle-v1-1-debf8cb467cb@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions