crypto/ecrdsa.c
Source file repositories/reference/linux-study-clean/crypto/ecrdsa.c
File Facts
- System
- Linux kernel
- Corpus path
crypto/ecrdsa.c- Extension
.c- Size
- 8317 bytes
- Lines
- 294
- 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
linux/module.hlinux/crypto.hcrypto/sig.hcrypto/streebog.hcrypto/internal/ecc.hcrypto/internal/sig.hlinux/oid_registry.hecrdsa_params.asn1.hecrdsa_pub_key.asn1.hecrdsa_defs.h
Detected Declarations
struct ecrdsa_ctxfunction ecrdsa_verifyfunction ecrdsa_param_curvefunction ecrdsa_param_digestfunction ecrdsa_parse_pub_keyfunction ecrdsa_set_pub_keyfunction ecrdsa_key_sizefunction ecrdsa_max_sizefunction ecrdsa_mod_initfunction ecrdsa_mod_finimodule init ecrdsa_mod_init
Annotated Snippet
module_init(ecrdsa_mod_init);
module_exit(ecrdsa_mod_fini);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Vitaly Chikunov <vt@altlinux.org>");
MODULE_DESCRIPTION("EC-RDSA generic algorithm");
MODULE_ALIAS_CRYPTO("ecrdsa");
MODULE_ALIAS_CRYPTO("ecrdsa-generic");
Annotation
- Immediate include surface: `linux/module.h`, `linux/crypto.h`, `crypto/sig.h`, `crypto/streebog.h`, `crypto/internal/ecc.h`, `crypto/internal/sig.h`, `linux/oid_registry.h`, `ecrdsa_params.asn1.h`.
- Detected declarations: `struct ecrdsa_ctx`, `function ecrdsa_verify`, `function ecrdsa_param_curve`, `function ecrdsa_param_digest`, `function ecrdsa_parse_pub_key`, `function ecrdsa_set_pub_key`, `function ecrdsa_key_size`, `function ecrdsa_max_size`, `function ecrdsa_mod_init`, `function ecrdsa_mod_fini`.
- 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.