crypto/streebog_generic.c
Source file repositories/reference/linux-study-clean/crypto/streebog_generic.c
File Facts
- System
- Linux kernel
- Corpus path
crypto/streebog_generic.c- Extension
.c- Size
- 58627 bytes
- Lines
- 1075
- 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/internal/hash.hcrypto/streebog.hlinux/kernel.hlinux/module.hlinux/string.h
Detected Declarations
function streebog_xorfunction streebog_xlpsfunction streebog_roundfunction streebog_initfunction streebog_add512function streebog_gfunction streebog_stage2function streebog_stage3function streebog_updatefunction streebog_finupfunction streebog_mod_initfunction streebog_mod_finimodule init streebog_mod_init
Annotated Snippet
module_init(streebog_mod_init);
module_exit(streebog_mod_fini);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Vitaly Chikunov <vt@altlinux.org>");
MODULE_DESCRIPTION("Streebog Hash Function");
MODULE_ALIAS_CRYPTO("streebog256");
MODULE_ALIAS_CRYPTO("streebog256-generic");
MODULE_ALIAS_CRYPTO("streebog512");
MODULE_ALIAS_CRYPTO("streebog512-generic");
Annotation
- Immediate include surface: `crypto/internal/hash.h`, `crypto/streebog.h`, `linux/kernel.h`, `linux/module.h`, `linux/string.h`.
- Detected declarations: `function streebog_xor`, `function streebog_xlps`, `function streebog_round`, `function streebog_init`, `function streebog_add512`, `function streebog_g`, `function streebog_stage2`, `function streebog_stage3`, `function streebog_update`, `function streebog_finup`.
- 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.