caam_encap_blob(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 from caam_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 πŸ¦‹

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