caam_encap_blob(9)
π caam_encap_blob(9) β¨
okay so bestie, welcome to the Kernel API Manual β yes we're literally in kernel land now, and no, you don't need to be scared. this one's a little function with big main character energy: it takes your key and wraps it up in a secure lil blob π
πΈ NAME πΈ
caam_encap_blob β encapsulate blob. that's it, that's the whole job. it encapsulates the blob. slay. π
β¨ SYNOPSIS β¨
int caam_encap_blob (struct caam_blob_priv *priv , struct caam_blob_info
*info );
note the return type is int, bestie β it's giving "i will tell you if things went well" energy π
π«Ά ARGUMENTS π«Ά
privβ the instance you got back fromcaam_blob_gen_init. like, you can't just show up without your VIP pass, okay? ποΈinfoβ a pointer to the blobbing info, which is the whole vibe pack: it describes the input key, the output blob, and the key modifier buffers. all three, together, no cap. π§
π RETURN π
on success it returns 0 and sets info->output_len β like, it's not just saying "yay", it's also handing you the actual length of the output. icon behavior, fr fr β¨
otherwise you get a negative error code. that's your sign something went sideways. not me getting a negative error code ππ
π¦ SEE ALSO π¦
- Kernel file
./include/soc/fsl/caam-blob.h struct caam_pkey_info(9)struct caam_blob_info(9)caam_blob_gen_init(9)caam_blob_gen_exit(9)caam_process_blob(9)caam_decap_blob(9)
basically the whole blob-adjacent friend group π go read them, iykyk π
mwah π this page lives in ./include/soc/fsl and it's stamped October 2026 β go off, blob queen, see you in the kernel πΈβ¨
π¦ 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