drivers/crypto/xilinx/zynqmp-aes-gcm.c
Source file repositories/reference/linux-study-clean/drivers/crypto/xilinx/zynqmp-aes-gcm.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/crypto/xilinx/zynqmp-aes-gcm.c- Extension
.c- Size
- 28600 bytes
- Lines
- 1028
- Domain
- Driver Families
- Bucket
- drivers/crypto
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
crypto/aes.hcrypto/engine.hcrypto/gcm.hcrypto/internal/aead.hcrypto/scatterwalk.hlinux/dma-mapping.hlinux/err.hlinux/firmware/xlnx-zynqmp.hlinux/kernel.hlinux/module.hlinux/mod_devicetable.hlinux/platform_device.hlinux/string.h
Detected Declarations
struct xilinx_aead_devstruct xilinx_aead_algstruct xilinx_hwkey_infostruct zynqmp_aead_hw_reqstruct xilinx_aead_tfm_ctxstruct xilinx_aead_req_ctxstruct versal_init_opsstruct versal_in_paramsenum xilinx_aead_openum zynqmp_aead_keysrcenum versal_aead_keysrcenum versal_aead_openum versal_aes_keysizefunction zynqmp_aes_aead_cipherfunction versal_aes_aead_cipherfunction zynqmp_fallback_checkfunction versal_fallback_checkfunction xilinx_handle_aes_reqfunction zynqmp_aes_aead_setkeyfunction zynqmp_paes_aead_setkeyfunction versal_aes_aead_setkeyfunction versal_paes_aead_setkeyfunction xilinx_aes_aead_setauthsizefunction xilinx_aes_fallback_cryptfunction zynqmp_aes_aead_encryptfunction versal_aes_aead_encryptfunction zynqmp_aes_aead_decryptfunction xilinx_paes_aead_initfunction versal_aes_aead_decryptfunction xilinx_aes_aead_initfunction xilinx_paes_aead_exitfunction xilinx_aes_aead_exitfunction xilinx_aes_aead_probefunction xilinx_aes_aead_removefunction aes_driver_initfunction aes_driver_exitmodule init aes_driver_init
Annotated Snippet
module_init(aes_driver_init);
module_exit(aes_driver_exit);
MODULE_DESCRIPTION("zynqmp aes-gcm hardware acceleration support.");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `crypto/aes.h`, `crypto/engine.h`, `crypto/gcm.h`, `crypto/internal/aead.h`, `crypto/scatterwalk.h`, `linux/dma-mapping.h`, `linux/err.h`, `linux/firmware/xlnx-zynqmp.h`.
- Detected declarations: `struct xilinx_aead_dev`, `struct xilinx_aead_alg`, `struct xilinx_hwkey_info`, `struct zynqmp_aead_hw_req`, `struct xilinx_aead_tfm_ctx`, `struct xilinx_aead_req_ctx`, `struct versal_init_ops`, `struct versal_in_params`, `enum xilinx_aead_op`, `enum zynqmp_aead_keysrc`.
- Atlas domain: Driver Families / drivers/crypto.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.