tools/testing/crypto/chacha20-s390/test-cipher.c
Source file repositories/reference/linux-study-clean/tools/testing/crypto/chacha20-s390/test-cipher.c
File Facts
- System
- Linux kernel
- Corpus path
tools/testing/crypto/chacha20-s390/test-cipher.c- Extension
.c- Size
- 8614 bytes
- Lines
- 369
- Domain
- Support Tooling And Documentation
- Bucket
- tools
- Inferred role
- Support Tooling And Documentation: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- 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
asm/elf.hasm/uaccess.hasm/smp.hcrypto/skcipher.hcrypto/akcipher.hcrypto/acompress.hcrypto/rng.hcrypto/kpp.hcrypto/internal/simd.hcrypto/chacha.hcrypto/aead.hcrypto/hash.hlinux/crypto.hlinux/debugfs.hlinux/delay.hlinux/err.hlinux/fs.hlinux/fips.hlinux/kernel.hlinux/kthread.hlinux/module.hlinux/sched.hlinux/scatterlist.hlinux/time.hlinux/vmalloc.hlinux/zlib.hlinux/once.hlinux/random.hlinux/slab.hlinux/string.h
Detected Declarations
struct skcipher_deffunction test_lib_chachafunction test_skcipher_encdecfunction test_skcipherfunction chacha_s390_test_initfunction chacha_s390_test_exitmodule init chacha_s390_test_init
Annotated Snippet
module_init(chacha_s390_test_init);
module_exit(chacha_s390_test_exit);
MODULE_DESCRIPTION("s390 ChaCha20 self-test");
MODULE_AUTHOR("Vladis Dronov <vdronoff@gmail.com>");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `asm/elf.h`, `asm/uaccess.h`, `asm/smp.h`, `crypto/skcipher.h`, `crypto/akcipher.h`, `crypto/acompress.h`, `crypto/rng.h`, `crypto/kpp.h`.
- Detected declarations: `struct skcipher_def`, `function test_lib_chacha`, `function test_skcipher_encdec`, `function test_skcipher`, `function chacha_s390_test_init`, `function chacha_s390_test_exit`, `module init chacha_s390_test_init`.
- Atlas domain: Support Tooling And Documentation / tools.
- 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.