lib/crypto/gf128hash.c
Source file repositories/reference/linux-study-clean/lib/crypto/gf128hash.c
File Facts
- System
- Linux kernel
- Corpus path
lib/crypto/gf128hash.c- Extension
.c- Size
- 13780 bytes
- Lines
- 435
- Domain
- Kernel Services
- Bucket
- lib
- 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/gf128hash.hlinux/export.hlinux/module.hlinux/string.hlinux/unaligned.hgf128hash.h
Detected Declarations
function GFfunction clmul32function clmul64function polyval_mul_genericfunction ghash_blocks_genericfunction polyval_blocks_genericfunction ghash_key_to_polyvalfunction polyval_acc_to_ghashfunction ghash_acc_to_polyvalfunction ghash_preparekeyfunction ghash_mulfunction ghash_blocksfunction ghash_updatefunction ghash_finalfunction polyval_preparekeyfunction polyval_mul_genericfunction polyval_blocksfunction polyval_updatefunction polyval_finalfunction gf128hash_mod_initfunction gf128hash_mod_exitmodule init gf128hash_mod_initexport ghash_preparekeyexport ghash_updateexport ghash_finalexport polyval_preparekeyexport polyval_updateexport polyval_final
Annotated Snippet
subsys_initcall(gf128hash_mod_init);
static void __exit gf128hash_mod_exit(void)
{
}
module_exit(gf128hash_mod_exit);
#endif
MODULE_DESCRIPTION("GF(2^128) polynomial hashing: GHASH and POLYVAL");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `crypto/gf128hash.h`, `linux/export.h`, `linux/module.h`, `linux/string.h`, `linux/unaligned.h`, `gf128hash.h`.
- Detected declarations: `function GF`, `function clmul32`, `function clmul64`, `function polyval_mul_generic`, `function ghash_blocks_generic`, `function polyval_blocks_generic`, `function ghash_key_to_polyval`, `function polyval_acc_to_ghash`, `function ghash_acc_to_polyval`, `function ghash_preparekey`.
- Atlas domain: Kernel Services / lib.
- 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.