cpacf_klmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cpacf_klmd β€” Kernel API Manual, but make it cute

okay so bestie, welcome to the cpacf_klmd(9) page πŸ’– this is a kernel API manual page, and it's all about one very specific vibe: the KLMD instruction. let's get into it ✨


🌸 NAME 🌸

cpacf_klmd β€” executes the KLMD (COMPUTE LAST MESSAGE DIGEST) instruction πŸ‘‘

like, that's literally the whole plot. no cap.


✨ SYNOPSIS ✨

void cpacf_klmd (unsigned long func , void *param , const u8 *src , long
src_len );

that's the whole signature, copy it exactly, don't get creative with it πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • func β€” the function code passed to KM; see the CPACF_KLMD_xxx defines for the actual codes. iykyk πŸ‘€
  • param β€” address of parameter block; see POP for details on each func 🫢 (yes, you gotta read POP, no skipping)
  • src β€” address of source memory area 🌈
  • src_len β€” length of src operand in bytes, fr fr, it's measured in bytes πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./arch/s390/include/asm/cpacf.h, plus the whole friend group:

like, the whole squad's here 🫢✨ main character energy from cpacf_klmd honestly πŸ’œ


ngl, if you're calling this, you're probably deep in s390 crypto-land, and that's iconic of you 🧚 πŸ’…

and that's the page!! sourced straight from ./arch/s390/include/asm, dated October 2026, cpacf_klmd(9) β€” slay, bye bestie πŸŽ€πŸ’–πŸŒΈ

πŸ“¦ where this page comes from