arch/powerpc/crypto/aes-gcm-p10-glue.c
Source file repositories/reference/linux-study-clean/arch/powerpc/crypto/aes-gcm-p10-glue.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/crypto/aes-gcm-p10-glue.c- Extension
.c- Size
- 10724 bytes
- Lines
- 434
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- Inferred role
- Architecture Layer: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- 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
linux/unaligned.hasm/simd.hasm/switch_to.hcrypto/gcm.hcrypto/aes.hcrypto/algapi.hcrypto/b128ops.hcrypto/gf128mul.hcrypto/internal/simd.hcrypto/internal/aead.hcrypto/internal/hash.hcrypto/internal/skcipher.hcrypto/scatterwalk.hlinux/cpufeature.hlinux/crypto.hlinux/module.hlinux/types.h
Detected Declarations
struct p10_aes_keystruct gcm_ctxstruct Hash_ctxstruct p10_aes_gcm_ctxfunction vsx_beginfunction vsx_endfunction set_subkeyfunction set_aadfunction gcmp10_initfunction finish_tagfunction set_authsizefunction p10_aes_gcm_setkeyfunction p10_aes_gcm_cryptfunction rfc4106_setkeyfunction rfc4106_setauthsizefunction rfc4106_encryptfunction rfc4106_decryptfunction p10_aes_gcm_encryptfunction p10_aes_gcm_decryptfunction p10_initfunction p10_exitmodule init p10_init
Annotated Snippet
module_init(p10_init);
module_exit(p10_exit);
Annotation
- Immediate include surface: `linux/unaligned.h`, `asm/simd.h`, `asm/switch_to.h`, `crypto/gcm.h`, `crypto/aes.h`, `crypto/algapi.h`, `crypto/b128ops.h`, `crypto/gf128mul.h`.
- Detected declarations: `struct p10_aes_key`, `struct gcm_ctx`, `struct Hash_ctx`, `struct p10_aes_gcm_ctx`, `function vsx_begin`, `function vsx_end`, `function set_subkey`, `function set_aad`, `function gcmp10_init`, `function finish_tag`.
- Atlas domain: Architecture Layer / arch/powerpc.
- Implementation status: integration implementation candidate.
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.