arch/sparc/crypto/camellia_glue.c
Source file repositories/reference/linux-study-clean/arch/sparc/crypto/camellia_glue.c
File Facts
- System
- Linux kernel
- Corpus path
arch/sparc/crypto/camellia_glue.c- Extension
.c- Size
- 8258 bytes
- Lines
- 294
- Domain
- Architecture Layer
- Bucket
- arch/sparc
- Inferred role
- Architecture Layer: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- 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/crypto.hlinux/init.hlinux/module.hlinux/mm.hlinux/types.hcrypto/algapi.hcrypto/internal/skcipher.hasm/fpumacro.hasm/opcodes.hasm/pstate.hasm/elf.hcrop_devid.c
Detected Declarations
struct camellia_sparc64_ctxfunction camellia_set_keyfunction camellia_set_key_skcipherfunction camellia_encryptfunction camellia_decryptfunction __ecb_cryptfunction ecb_encryptfunction ecb_decryptfunction cbc_encryptfunction cbc_decryptfunction sparc64_has_camellia_opcodefunction camellia_sparc64_mod_initfunction camellia_sparc64_mod_finimodule init camellia_sparc64_mod_init
Annotated Snippet
module_init(camellia_sparc64_mod_init);
module_exit(camellia_sparc64_mod_fini);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Camellia Cipher Algorithm, sparc64 camellia opcode accelerated");
MODULE_ALIAS_CRYPTO("camellia");
#include "crop_devid.c"
Annotation
- Immediate include surface: `linux/crypto.h`, `linux/init.h`, `linux/module.h`, `linux/mm.h`, `linux/types.h`, `crypto/algapi.h`, `crypto/internal/skcipher.h`, `asm/fpumacro.h`.
- Detected declarations: `struct camellia_sparc64_ctx`, `function camellia_set_key`, `function camellia_set_key_skcipher`, `function camellia_encrypt`, `function camellia_decrypt`, `function __ecb_crypt`, `function ecb_encrypt`, `function ecb_decrypt`, `function cbc_encrypt`, `function cbc_decrypt`.
- Atlas domain: Architecture Layer / arch/sparc.
- 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.