crypto/authencesn.c
Source file repositories/reference/linux-study-clean/crypto/authencesn.c
File Facts
- System
- Linux kernel
- Corpus path
crypto/authencesn.c- Extension
.c- Size
- 13475 bytes
- Lines
- 465
- 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.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
crypto/internal/aead.hcrypto/internal/hash.hcrypto/internal/skcipher.hcrypto/authenc.hcrypto/scatterwalk.hlinux/err.hlinux/init.hlinux/kernel.hlinux/module.hlinux/rtnetlink.hlinux/slab.hlinux/spinlock.h
Detected Declarations
struct authenc_esn_instance_ctxstruct crypto_authenc_esn_ctxstruct authenc_esn_request_ctxfunction authenc_esn_request_completefunction crypto_authenc_esn_setauthsizefunction crypto_authenc_esn_setkeyfunction crypto_authenc_esn_genicv_tailfunction authenc_esn_geniv_ahash_donefunction crypto_authenc_esn_genicvfunction crypto_authenc_esn_encrypt_donefunction crypto_authenc_esn_encryptfunction crypto_authenc_esn_decrypt_tailfunction authenc_esn_verify_ahash_donefunction crypto_authenc_esn_decryptfunction crypto_authenc_esn_init_tfmfunction crypto_authenc_esn_exit_tfmfunction crypto_authenc_esn_freefunction crypto_authenc_esn_createfunction crypto_authenc_esn_module_initfunction crypto_authenc_esn_module_exitmodule init crypto_authenc_esn_module_init
Annotated Snippet
module_init(crypto_authenc_esn_module_init);
module_exit(crypto_authenc_esn_module_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Steffen Klassert <steffen.klassert@secunet.com>");
MODULE_DESCRIPTION("AEAD wrapper for IPsec with extended sequence numbers");
MODULE_ALIAS_CRYPTO("authencesn");
Annotation
- Immediate include surface: `crypto/internal/aead.h`, `crypto/internal/hash.h`, `crypto/internal/skcipher.h`, `crypto/authenc.h`, `crypto/scatterwalk.h`, `linux/err.h`, `linux/init.h`, `linux/kernel.h`.
- Detected declarations: `struct authenc_esn_instance_ctx`, `struct crypto_authenc_esn_ctx`, `struct authenc_esn_request_ctx`, `function authenc_esn_request_complete`, `function crypto_authenc_esn_setauthsize`, `function crypto_authenc_esn_setkey`, `function crypto_authenc_esn_genicv_tail`, `function authenc_esn_geniv_ahash_done`, `function crypto_authenc_esn_genicv`, `function crypto_authenc_esn_encrypt_done`.
- 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.