caam_process_blob(9)
π caam_process_blob β the kernel API manual, bestie edition
okay so real quick, the manual name is caam_process_blob(9) and this whole page is our little study session about it. it's the "encapsulate or decapsulate blob" girlie π«Ά like yes, that's literally the job. blobs in, blobs out, no cap.
β¨ SYNOPSIS β¨
int caam_process_blob (struct caam_blob_priv *priv , struct
caam_blob_info *info , bool encap );
that's the whole signature, copy it exactly, don't freestyle it π
π ARGUMENTS π
privβ the instance you got back fromcaam_blob_gen_init. like, the one it handed you. you can't just make one up, bestie πinfoβ a pointer to the blobbing info. it's the whole describe-the-situation struct: it covers the key, the blob, and the key modifier buffers. all three, all described, all in there πΈencapβtruewhen you want encapsulation,falsewhen you want decapsulation. that's it. that's the whole vibe check:true= wrap it up,false= unwrap it π
β RETURN β
returns 0 on success and β listen β on success it also sets info->output_len. both things. together. iconic π
otherwise? some negative error code. not zero. negative. so if you're out here checking for truthiness you're gonna have a bad time π
π¦ SEE ALSO π¦
- Kernel file
./include/soc/fsl/caam-blob.hβ yeah, the header, go read it, it's giving source of truth β¨ struct caam_pkey_info(9)struct caam_blob_info(9)caam_blob_gen_init(9)caam_blob_gen_exit(9)caam_encap_blob(9)caam_decap_blob(9)
like, read the friends too, they all hang out together, iykyk π
ngl the order here is exactly the order above β i did not shuffle anyone, don't come for me π€
and that's the page!! mwah π source/version lives at ./include/soc/fsl, dated October 2026, and yes we are still thinking about it. 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