cpacf_kimd(9)
π cpacf_kimd β kernel API manual, but make it a vibe
okay so bestie, welcome to cpacf_kimd(9) β the kernel API manual page for the function that executes the KIMD (COMPUTE INTERMEDIATE MESSAGE DIGEST) instruction β¨ that's literally the whole NAME section, no notes, she's efficient, we love that for her πΈ
β¨ SYNOPSIS β¨
like, here's the whole signature, copy it exactly bestie, don't freestyle:
void cpacf_kimd (unsigned long func , void *param , const u8 *src , long
src_len );
yes the spacing is a little chaotic, no we're not fixing it, she's iconic like that π
π ARGUMENTS π
funcβ the function code that gets passed to KM, periodt. theCPACF_KIMD_xxxdefines are your besties here, go look at them πparamβ the address of the parameter block. and like, eachfunchas its own opinion about what goes in there, so check the POP for the deets on every singlefuncπ¦srcβ the address of the source memory area, aka where your data is actually living πsrc_lenβ the length of thesrcoperand, in bytes. count them. respectfully. π
π SEE ALSO π
run, don't walk, to the kernel file ./arch/s390/include/asm/cpacf.h β she's the main character, the rest of these are her extended universe π«Ά
cpacf_query(9)cpacf_qai(9)cpacf_km(9)cpacf_kmc(9)cpacf_klmd(9)_cpacf_kmac(9)cpacf_kmac(9)cpacf_kmctr(9)cpacf_prno(9)cpacf_trng(9)cpacf_pcc(9)cpacf_pckmo(9)cpacf_kma(9)
note the tiny detail besties: _cpacf_kmac(9) has a little underscore bestie in front of it and cpacf_kmac(9) doesn't β they're different pages, do not mix them up, iykyk π₯
okay that's the whole page, and honestly? ate. π
cute little sign-off moment: this one's stamped October 2026, it lives in ./arch/s390/include/asm, and the page is literally named cpacf_kimd(9) β so if you forget any of that, it's right there in the footer, slay β¨π¦π
π¦ 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