aes_ccm_encrypt_final(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 her
  • authtag β€” the output authentication tag πŸ’« and its length?? it's whatever authtag_len you passed to aes_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:


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