[PATCH v2 00/14] crypto: zynqmp-aes-gcm: Bug fixes and aes-gcm support for Versal

Harsh Jain h.jain at amd.com
Sat Dec 20 07:58:51 PST 2025


This series includes bug fixes and adds aes-gcm support for Versal device.
It is based on cryptodev-2.6 tree.

Changes in V2:
- Rebase series to cryptodev-2.6
- Register H/W keys with gcm(paes) 

Harsh Jain (14):
  firmware: zynqmp: Move crypto API's to separate file
  crypto: zynqmp-aes-gcm: cleanup: Remove union from zynqmp_aead_drv_ctx
  firmware: zynqmp: Add helper API to self discovery the device
  dt-bindings: crypto: Mark zynqmp-aes as Deprecated
  crypto: zynqmp-aes-gcm: Update probe to self discover the device
  crypto: zynqmp-aes-gcm: Return linux error code instead of firmware
    error code
  crypto: zynqmp-aes-gcm: Avoid Encrypt request to fallback for authsize
    < 16
  crypto: zynqmp-aes-gcm: Avoid submitting fallback requests to engine
  crypto: zynqmp-aes-gcm: Register H/W key support with paes
  crypto: xilinx: Replace zynqmp prefix with xilinx
  crypto: zynqmp-aes-gcm: Change coherent DMA to streaming DMA API
  firmware: xilinx: Add firmware API's to support aes-gcm in Versal
    device
  crypto: xilinx: cleanup: Remove un-necessary typecast operation
  crypto: xilinx: Add gcm(aes) support for AMD/Xilinx Versal device

 .../bindings/crypto/xlnx,zynqmp-aes.yaml      |    2 +
 .../firmware/xilinx/xlnx,zynqmp-firmware.yaml |    1 +
 drivers/crypto/xilinx/zynqmp-aes-gcm.c        | 1007 +++++++++++++----
 drivers/firmware/xilinx/Makefile              |    2 +-
 drivers/firmware/xilinx/zynqmp-crypto.c       |  239 ++++
 drivers/firmware/xilinx/zynqmp.c              |   49 -
 include/linux/firmware/xlnx-zynqmp-crypto.h   |  119 ++
 include/linux/firmware/xlnx-zynqmp.h          |   14 +-
 8 files changed, 1155 insertions(+), 278 deletions(-)
 create mode 100644 drivers/firmware/xilinx/zynqmp-crypto.c
 create mode 100644 include/linux/firmware/xlnx-zynqmp-crypto.h

-- 
2.49.1




More information about the linux-arm-kernel mailing list