crypto/des_generic.c
Source file repositories/reference/linux-study-clean/crypto/des_generic.c
File Facts
- System
- Linux kernel
- Corpus path
crypto/des_generic.c- Extension
.c- Size
- 3352 bytes
- Lines
- 135
- 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
asm/byteorder.hcrypto/algapi.hlinux/bitops.hlinux/init.hlinux/module.hlinux/errno.hcrypto/internal/des.h
Detected Declarations
function Copyrightfunction crypto_des_encryptfunction crypto_des_decryptfunction des3_ede_setkeyfunction crypto_des3_ede_encryptfunction crypto_des3_ede_decryptfunction des_generic_mod_initfunction des_generic_mod_finimodule init des_generic_mod_init
Annotated Snippet
module_init(des_generic_mod_init);
module_exit(des_generic_mod_fini);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("DES & Triple DES EDE Cipher Algorithms");
MODULE_AUTHOR("Dag Arne Osvik <da@osvik.no>");
MODULE_ALIAS_CRYPTO("des");
MODULE_ALIAS_CRYPTO("des-generic");
MODULE_ALIAS_CRYPTO("des3_ede");
MODULE_ALIAS_CRYPTO("des3_ede-generic");
Annotation
- Immediate include surface: `asm/byteorder.h`, `crypto/algapi.h`, `linux/bitops.h`, `linux/init.h`, `linux/module.h`, `linux/errno.h`, `crypto/internal/des.h`.
- Detected declarations: `function Copyright`, `function crypto_des_encrypt`, `function crypto_des_decrypt`, `function des3_ede_setkey`, `function crypto_des3_ede_encrypt`, `function crypto_des3_ede_decrypt`, `function des_generic_mod_init`, `function des_generic_mod_fini`, `module init des_generic_mod_init`.
- 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.