arch/x86/crypto/aesni-intel_glue.c
Source file repositories/reference/linux-study-clean/arch/x86/crypto/aesni-intel_glue.c
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/crypto/aesni-intel_glue.c- Extension
.c- Size
- 53238 bytes
- Lines
- 1674
- Domain
- Architecture Layer
- Bucket
- arch/x86
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/hardirq.hlinux/types.hlinux/module.hlinux/err.hcrypto/algapi.hcrypto/aes.hcrypto/b128ops.hcrypto/gcm.hcrypto/gf128mul.hcrypto/xts.hasm/cpu_device_id.hasm/simd.hcrypto/scatterwalk.hcrypto/internal/aead.hcrypto/internal/simd.hcrypto/internal/skcipher.hlinux/jump_label.hlinux/workqueue.hlinux/spinlock.hlinux/static_call.h
Detected Declarations
struct aesni_xts_ctxstruct aes_gcm_keystruct aes_gcm_key_aesnistruct aes_gcm_key_vaes_avx2struct aes_gcm_key_vaes_avx512function aes_set_key_commonfunction aesni_skcipher_setkeyfunction ecb_encryptfunction ecb_decryptfunction cbc_encryptfunction cbc_decryptfunction cts_cbc_encryptfunction cts_cbc_decryptfunction ctr_crypt_aesnifunction xts_setkey_aesnifunction xts_crypt_slowpathfunction xts_cryptfunction likelyfunction aesni_xts_encrypt_ivfunction aesni_xts_encryptfunction aesni_xts_decryptfunction xts_encrypt_aesnifunction xts_decrypt_aesnifunction ctr_cryptfunction xctr_cryptfunction callsfunction aes_gcm_precomputefunction aes_gcm_aad_updatefunction aes_gcm_updatefunction aes_gcm_enc_finalfunction aes_gcm_dec_finalfunction Valuefunction generic_gcmaes_set_authsizefunction gcm_setkeyfunction gcm_process_assocfunction gcm_cryptfunction register_avx_algsfunction crypto_unregister_skciphersfunction register_avx_algsfunction unregister_avx_algsfunction aesni_initfunction aesni_exitmodule init aesni_init
Annotated Snippet
module_init(aesni_init);
module_exit(aesni_exit);
MODULE_DESCRIPTION("AES cipher and modes, optimized with AES-NI or VAES instructions");
MODULE_LICENSE("GPL");
MODULE_ALIAS_CRYPTO("aes");
Annotation
- Immediate include surface: `linux/hardirq.h`, `linux/types.h`, `linux/module.h`, `linux/err.h`, `crypto/algapi.h`, `crypto/aes.h`, `crypto/b128ops.h`, `crypto/gcm.h`.
- Detected declarations: `struct aesni_xts_ctx`, `struct aes_gcm_key`, `struct aes_gcm_key_aesni`, `struct aes_gcm_key_vaes_avx2`, `struct aes_gcm_key_vaes_avx512`, `function aes_set_key_common`, `function aesni_skcipher_setkey`, `function ecb_encrypt`, `function ecb_decrypt`, `function cbc_encrypt`.
- Atlas domain: Architecture Layer / arch/x86.
- 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.