Re: [PATCH net-next 5/6] netdevsim: psp: add real aes-gcm encryption and decryption
From: Willem de Bruijn
Date: Mon May 11 2026 - 16:14:30 EST
Daniel Zahka wrote:
> Implement real AES-GCM-128/256 encryption and decryption for PSP
> packets in the netdevsim driver, and remove gmac from supported
> versions.
>
> We now have to add and remove the PSP ICV trailer from packets. We
> linearize skb's because the aesgcm crypto library does not work on
> non-linear buffers.
>
> Assisted-by: Claude:claude-opus-4.6
> Signed-off-by: Daniel Zahka <daniel.zahka@xxxxxxxxx>
Reviewed-by: Willem de Bruijn <willemb@xxxxxxxxxx>