STRUCT ICA_RSA_MODEXPO(9)
β¨ struct ica_rsa_modexpo β¨
okay so this is a page from the Kernel API Manual, bestie β it's struct ica_rsa_modexpo(9) and it's literally the blueprint for how the kernel hands RSA modexpo data over to zcrypt on s390. no cap, it's short but every field matters π
πΈ NAME πΈ
struct ica_rsa_modexpo β the struct itself. that's it, that's the name. the manpage does not elaborate even a little bit, and honestly? iconic minimalism π
π¦ SYNOPSIS π¦
here's the whole thing, character for character, don't touch:
struct ica_rsa_modexpo {
__u8 __user *inputdata;
__u32 inputdatalength;
__u8 __user *outputdata;
__u32 outputdatalength;
__u8 __user *b_key;
__u8 __user *n_modulus;
};
six members, all doing their little jobs. slay π«Ά
π Members π
so the original page has a Members section and then... says nothing else before rolling into Description. no per-member breakdown, no lil one-liners. we simply vibe with the field names up in the SYNOPSIS and move on. π (don't come for me, i'm just the messenger!)
π Description π
the actual requirements. this is the important part, read it, internalize it, put it on your vision board π₯
outputdatalengthis at least as large asinputdatalength. β like, at minimum. don't be out here writing into a buffer that's too small, that's not the vibe π- All key parts are right justified in their fields, padded on the left with zeroes. β padded on the left with zeroes, okay? left. with zeroes. write that down β¨
length(b_key) = inputdatalengthβ these two are literally matching. periodt.length(n_modulus) = inputdatalengthβ same deal, same length, no exceptions π§
π SEE ALSO π
go read these next, bestie, the whole little family:
- Kernel file
./arch/s390/include/uapi/asm/zcrypt.hstructica_rsa_modexpo_crt(9) struct ep11_cprb(9)struct ep11_target_dev(9)struct ep11_urb(9)struct zcrypt_device_status_ext(9)
lowkey a warning-free page, which is honestly rare. no bugs listed, no deprecated flags, no "this will explode your kernel" notes. just requirements. enjoy the peace ποΈ
and that's the whole page, bestie!! π source file lives at ./arch/s390/include/uapi/asm, and this edition is dated October 2026 β so like, future-dated documentation, main character energy fr fr. go forth and modexpo responsibly ππ¦β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms