cpacf_qai(9)
π 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:
cpacf_query(9)cpacf_km(9)cpacf_kmc(9)cpacf_kimd(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)
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
- 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