cpacf_qai(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cpacf_qai(9) β€” ok bestie, let's talk πŸ’…

so this little icon is from the Kernel API Manual, section 9, and her whole job is literally just: "hey, what auth info does this crypto opcode have, and is it even available?" nosy queen behavior and we love her for it πŸŽ€


✨ NAME ✨

cpacf_qai β€” get the query authentication information for a CPACF opcode πŸ•΅οΈβ€β™€οΈ

🌸 SYNOPSIS 🌸

int cpacf_qai (unsigned int opcode , cpacf_qai_t *qai );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • opcode β€” the opcode of the crypto instruction, like the little ID number that tells everyone which instruction we're talking about πŸ”’
  • qai β€” honestly? the original docs literally say -- undescribed -- and we're just gonna respect that energy πŸ™ˆ (yes, fr fr, that's what it says)

πŸ”₯ DESCRIPTION πŸ”₯

okay so what she does is: she executes the query authentication information function for whatever crypto instruction opcode you hand her, and then she checks if func is available. vibe check for your opcode, basically πŸ’…

On success, 1 is returned and the mask gets filled with the query authentication information for this CPACF opcode. Otherwise 0 is returned. iconic boolean behavior, no cap ⭐

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./arch/s390/include/asm/cpacf.h β€” and the whole bestie squad:


and that's the whole page, bestie 🫢 she's short, she's sweet, she returns 1 or 0 and she's in ./arch/s390/include/asm, dated October 2026. go forth and query your opcodes πŸ’–βœ¨

πŸ“¦ where this page comes from