crypto/aegis128-core.c
Source file repositories/reference/linux-study-clean/crypto/aegis128-core.c
File Facts
- System
- Linux kernel
- Corpus path
crypto/aegis128-core.c- Extension
.c- Size
- 15784 bytes
- Lines
- 578
- Domain
- Kernel Services
- Bucket
- crypto
- Inferred role
- Kernel Services: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.
- Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.
- 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
crypto/algapi.hcrypto/internal/aead.hcrypto/internal/simd.hcrypto/internal/skcipher.hcrypto/scatterwalk.hlinux/err.hlinux/init.hlinux/jump_label.hlinux/kernel.hlinux/module.hlinux/scatterlist.hasm/simd.haegis.h
Detected Declarations
struct aegis_statestruct aegis_ctxfunction aegis128_do_simdfunction crypto_aegis128_updatefunction crypto_aegis128_update_afunction crypto_aegis128_update_ufunction crypto_aegis128_initfunction crypto_aegis128_adfunction crypto_aegis128_wipe_chunkfunction crypto_aegis128_encrypt_chunkfunction crypto_aegis128_decrypt_chunkfunction crypto_aegis128_process_adfunction crypto_aegis128_process_cryptfunction crypto_aegis128_finalfunction crypto_aegis128_setkeyfunction crypto_aegis128_setauthsizefunction crypto_aegis128_encrypt_genericfunction crypto_aegis128_decrypt_genericfunction crypto_aegis128_encrypt_simdfunction crypto_aegis128_decrypt_simdfunction crypto_aegis128_module_initfunction crypto_aegis128_module_exitmodule init crypto_aegis128_module_init
Annotated Snippet
module_init(crypto_aegis128_module_init);
module_exit(crypto_aegis128_module_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Ondrej Mosnacek <omosnacek@gmail.com>");
MODULE_DESCRIPTION("AEGIS-128 AEAD algorithm");
MODULE_ALIAS_CRYPTO("aegis128");
MODULE_ALIAS_CRYPTO("aegis128-generic");
MODULE_ALIAS_CRYPTO("aegis128-simd");
Annotation
- Immediate include surface: `crypto/algapi.h`, `crypto/internal/aead.h`, `crypto/internal/simd.h`, `crypto/internal/skcipher.h`, `crypto/scatterwalk.h`, `linux/err.h`, `linux/init.h`, `linux/jump_label.h`.
- Detected declarations: `struct aegis_state`, `struct aegis_ctx`, `function aegis128_do_simd`, `function crypto_aegis128_update`, `function crypto_aegis128_update_a`, `function crypto_aegis128_update_u`, `function crypto_aegis128_init`, `function crypto_aegis128_ad`, `function crypto_aegis128_wipe_chunk`, `function crypto_aegis128_encrypt_chunk`.
- Atlas domain: Kernel Services / crypto.
- 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.