arch/s390/crypto/paes_s390.c
Source file repositories/reference/linux-study-clean/arch/s390/crypto/paes_s390.c
File Facts
- System
- Linux kernel
- Corpus path
arch/s390/crypto/paes_s390.c- Extension
.c- Size
- 45627 bytes
- Lines
- 1730
- Domain
- Architecture Layer
- Bucket
- arch/s390
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/atomic.hlinux/cpufeature.hlinux/delay.hlinux/err.hlinux/init.hlinux/miscdevice.hlinux/module.hlinux/mutex.hlinux/spinlock.hcrypto/aes.hcrypto/algapi.hcrypto/engine.hcrypto/internal/skcipher.hcrypto/xts.hasm/cpacf.hasm/pkey.h
Detected Declarations
struct paes_protkeystruct s390_paes_ctxstruct s390_pxts_ctxstruct clrkey_tokenstruct ecb_paramstruct s390_pecb_req_ctxstruct cbc_paramstruct s390_pcbc_req_ctxstruct ctr_paramstruct s390_pctr_req_ctxstruct xts_full_km_paramstruct xts_km_paramstruct xts_pcc_paramstruct s390_pxts_req_ctxfunction make_clrkey_tokenfunction paes_ctx_setkeyfunction pxts_ctx_setkeyfunction convert_keyfunction convert_keyfunction convert_keyfunction ecb_paes_setkeyfunction ecb_paes_do_cryptfunction ecb_paes_cryptfunction ecb_paes_encryptfunction ecb_paes_decryptfunction ecb_paes_initfunction ecb_paes_exitfunction ecb_paes_do_one_requestfunction cbc_paes_setkeyfunction cbc_paes_do_cryptfunction cbc_paes_cryptfunction cbc_paes_encryptfunction cbc_paes_decryptfunction cbc_paes_initfunction cbc_paes_exitfunction cbc_paes_do_one_requestfunction ctr_paes_setkeyfunction __ctrblk_initfunction ctr_paes_do_cryptfunction ctr_paes_cryptfunction ctr_paes_initfunction ctr_paes_exitfunction ctr_paes_do_one_requestfunction xts_paes_setkeyfunction xts_paes_do_crypt_fullkeyfunction __xts_2keys_prep_paramfunction xts_paes_do_crypt_2keysfunction xts_paes_do_crypt
Annotated Snippet
module_init(paes_s390_init);
module_exit(paes_s390_fini);
MODULE_ALIAS_CRYPTO("ecb(paes)");
MODULE_ALIAS_CRYPTO("cbc(paes)");
MODULE_ALIAS_CRYPTO("ctr(paes)");
MODULE_ALIAS_CRYPTO("xts(paes)");
MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm with protected keys");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/atomic.h`, `linux/cpufeature.h`, `linux/delay.h`, `linux/err.h`, `linux/init.h`, `linux/miscdevice.h`, `linux/module.h`, `linux/mutex.h`.
- Detected declarations: `struct paes_protkey`, `struct s390_paes_ctx`, `struct s390_pxts_ctx`, `struct clrkey_token`, `struct ecb_param`, `struct s390_pecb_req_ctx`, `struct cbc_param`, `struct s390_pcbc_req_ctx`, `struct ctr_param`, `struct s390_pctr_req_ctx`.
- Atlas domain: Architecture Layer / arch/s390.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.