versal_pm_aes_enc_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– versal_pm_aes_enc_update(9) πŸ’–

okay bestie, so this is a page straight out of the Kernel API Manual β€” yes, that Kernel API Manual β€” and today's main character is versal_pm_aes_enc_update. buckle up, it's giving cryptography but make it cute πŸŽ€


✨ NAME ✨

versal_pm_aes_enc_update β€” the function that goes and talks to the AES hardware to encrypt your data, using the AES-GCM core. literally it's the encryption glow-up πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int versal_pm_aes_enc_update (const u64 in_params , const u64 in_addr );

that's the whole vibe. two u64s in, one int out, no cap ✨


🌸 ARGUMENTS 🌸

  • in_params β€” the address of the AesParams structure 🫢 like, this is where all the config lives
  • in_addr β€” the address of the input buffer πŸ’– this is the actual data you're feeding in

⭐ RETURN ⭐

returns a status β€” either success or an error code. that's it. that's the tea πŸ“

heads up bestie: it's a status return, so pls actually check it, okay? 😭

🌈 SEE ALSO 🌈

so like, if you wanna go deeper (and you know you do πŸ‘€), check out the kernel file:

  • ./drivers/firmware/xilinx/zynqmp-crypto.c β€” the source, the origin story, the blueprint πŸ“œ

and the whole friend group of related functions:

squad goals fr fr πŸ‘‘


and that's the page, bestie!! this lil masterpiece lives in ./drivers/firmware/xilinx and it's dated October 2026 β€” screenshot it, frame it, put it on your fridge πŸ’œβœ¨

πŸ“¦ where this page comes from