aes_ccm_encrypt_final(9)
β¨ NAME β¨
aes_ccm_encrypt_final β bestie, this is the one that finishes encrypting a message with AES-CCM π like the last little bow on the gift, except the gift is cryptography π
(also hi, this is the page for aes_ccm_encrypt_final(9) from the Kernel API Manual, mwah π«Ά)
πΈ SYNOPSIS πΈ
void aes_ccm_encrypt_final (struct aes_ccm_ctx *ctx , u8 *authtag );
okay so literally just two things go in, no cap β¨
π ARGUMENTS π
ctxβ an AES-CCM context π¦ the little main character struct carrying all your state around, we love herauthtagβ the output authentication tag π« and its length?? it's whatever authtag_len you passed toaes_ccm_preparekeyβ same number, do not freestyle it π
π₯ DESCRIPTION π₯
this is the grand finale, the closing number, the last chorus π€ it finishes encrypting your message with AES-CCM. periodt.
and the icon behavior?? >it also zeroizes ctx<, so you the caller do not need to do it yourself π that's it, that's the whole choreography, she cleans up after herself and we are obsessed π
π§ CONTEXT π§
Any context. β yes queen, any context, you're free, go off π
β SEE ALSO β
Kernel file ./include/crypto/aes-ccm.h (iykyk π«Ά), plus the whole friend group:
struct aes_ccm_key(9)struct aes_ccm_ctx(9)aes_ccm_preparekey(9)aes_ccm_encrypt(9)aes_ccm_decrypt(9)aes_ccm_init(9)aes_ccm_auth_update(9)aes_ccm_encrypt_update(9)aes_ccm_decrypt_update(9)aes_ccm_decrypt_final(9)
okay that's the whole page, tysm for reading π this one lives in the kernel file ./include/crypto, version vibes from October 2026, and the page itself is aes_ccm_encrypt_final(9) β mwah, go forth and encrypt responsibly πβ¨
π¦ 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