cpacf_kimd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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. the CPACF_KIMD_xxx defines are your besties here, go look at them πŸ‘‘
  • param β€” the address of the parameter block. and like, each func has its own opinion about what goes in there, so check the POP for the deets on every single func πŸ¦‹
  • src β€” the address of the source memory area, aka where your data is actually living πŸ“
  • src_len β€” the length of the src operand, 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 🫢

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