caam_process_blob(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 from caam_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 β€” true when you want encapsulation, false when 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 πŸ¦‹

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