STRUCT CAAM_PKEY_INFO(9)
π struct caam_pkey_info(9) π
okay so bestie, welcome to the Kernel API Manual β this is the whole vibe of struct caam_pkey_info, which is, like, information for CAAM protected key. that's the NAME, that's the assignment, and she ate π
β¨ SYNOPSIS β¨
here's the actual shape of her, no cap, copy it exactly:
struct caam_pkey_info {
u8 is_pkey;
u8 key_enc_algo;
u16 plain_key_sz;
u8 key_buf[];
};
that's the whole struct. she's small, she's efficient, she's giving main character energy π¦
π Members π
okay so let's go through her fields one by one, because each one is doing something and we respect her for it:
is_pkeyβ this is literally just a flag to identify, if the key is protected. that's it, that's the job πΈ like a little "yes bestie this one's protected" badge.key_enc_algoβ this one identifies the algorithm,ccmorecb. two choices, two vibes, pick your fighter π₯plain_key_szβ size of plain key. she's au16, she knows how big the plain key is, and honestly? iconic πkey_bufβ contains key data. the actual payload, the real one, the star of the show β
ngl the[]onkey_bufmeans it's a flexible array member β it's just there, chillin' at the end of the struct π«Ά
π SEE ALSO π
go read these next, iykyk β they're all hanging out in the kernel file ./include/soc/fsl/caam-blob.h:
struct caam_blob_info(9)caam_blob_gen_init(9)caam_blob_gen_exit(9)caam_process_blob(9)caam_encap_blob(9)caam_decap_blob(9)
they're all part of the same blob family bestie, go say hi π
and that's the page! fr fr you understood all of it πβ¨ this one lives over in ./include/soc/fsl and it's dated October 2026 β so like, mark your calendar, and remember: struct caam_pkey_info(9) in the Kernel API Manual, periodt π
ππ
π¦ 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