aes_cmac_final(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… aes_cmac_final(9) β€” or, the Kernel API Manual's lil' grand finale πŸŽ€

okay so bestie, welcome to aes_cmac_final(9) from the Kernel API Manual β€” the moment where you finally wrap up that AES-CMAC or AES-XCBC-MAC and get your pretty lil' MAC value out. ✨


🌸 NAME 🌸

aes_cmac_final β€” finish computing an AES-CMAC or AES-XCBC-MAC value πŸ¦‹


✨ SYNOPSIS ✨

void aes_cmac_final (struct aes_cmac_ctx *ctx , u8 out[static AES_BLOCK_SIZE] );

like, that's the whole vibe. one call, and you're done. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • ctx β€” the context you're finalizing; it must have been initialized already, no cap. if you skipped init, that's not it, bestie. 😭
  • out β€” (output) the resulting MAC. this is where your hard-earned MAC lands, and honestly? she earned it. πŸ‘‘

🫢 DESCRIPTION 🫢

so you've done all your updates, and now it's time to close it out. after finishing, this zeroizes ctx β€” like, scrubs it clean automatically, no notes. πŸ”₯

the way that means the caller does not need to do it β€” you don't have to manually zeroize anything, the function handles it for you. periodt. πŸ’…


🌈 CONTEXT 🌈

any context. literally any. she's flexible like that. 🧚


⭐ SEE ALSO ⭐

go give these icons some love, iykyk:


okay and one last lil' sign-off bestie 🫢 β€” this whole page is living under ./include/crypto, dated October 2026, and it's aes_cmac_final(9) in the Kernel API Manual. slay, secure, and done. πŸ’– ✨ πŸŽ€

πŸ“¦ where this page comes from