arch/x86/crypto/twofish_glue_3way.c
Source file repositories/reference/linux-study-clean/arch/x86/crypto/twofish_glue_3way.c
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/crypto/twofish_glue_3way.c- Extension
.c- Size
- 4533 bytes
- Lines
- 171
- 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
asm/cpu_device_id.hcrypto/algapi.hcrypto/twofish.hlinux/crypto.hlinux/export.hlinux/init.hlinux/module.hlinux/types.htwofish.hecb_cbc_helpers.h
Detected Declarations
function twofish_setkey_skcipherfunction twofish_enc_blk_3wayfunction twofish_dec_blk_cbc_3wayfunction ecb_encryptfunction ecb_decryptfunction cbc_encryptfunction cbc_decryptfunction is_blacklisted_cpufunction twofish_3way_initfunction twofish_3way_finimodule init twofish_3way_initexport __twofish_enc_blk_3wayexport twofish_dec_blk_3wayexport twofish_dec_blk_cbc_3way
Annotated Snippet
module_init(twofish_3way_init);
module_exit(twofish_3way_fini);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Twofish Cipher Algorithm, 3-way parallel asm optimized");
MODULE_ALIAS_CRYPTO("twofish");
MODULE_ALIAS_CRYPTO("twofish-asm");
Annotation
- Immediate include surface: `asm/cpu_device_id.h`, `crypto/algapi.h`, `crypto/twofish.h`, `linux/crypto.h`, `linux/export.h`, `linux/init.h`, `linux/module.h`, `linux/types.h`.
- Detected declarations: `function twofish_setkey_skcipher`, `function twofish_enc_blk_3way`, `function twofish_dec_blk_cbc_3way`, `function ecb_encrypt`, `function ecb_decrypt`, `function cbc_encrypt`, `function cbc_decrypt`, `function is_blacklisted_cpu`, `function twofish_3way_init`, `function twofish_3way_fini`.
- 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.