versal_pm_aes_enc_update(9)
π 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 theAesParamsstructure π«Ά like, this is where all the config livesin_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:
zynqmp_pm_aes_engine(9)zynqmp_pm_sha_hash(9)xlnx_get_crypto_dev_data(9)versal_pm_aes_key_write(9)versal_pm_aes_key_zero(9)versal_pm_aes_op_init(9)versal_pm_aes_update_aad(9)versal_pm_aes_enc_final(9)versal_pm_aes_dec_update(9)versal_pm_aes_dec_final(9)versal_pm_aes_init(9)
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
- 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