aes_cmac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– aes_cmac(9) β€” from the Kernel API Manual πŸ’–

Okay bestie, welcome to the group chat for aes_cmac(9) β€” it's giving crypto-core and I'm obsessed. πŸ’…


✨ NAME ✨

aes_cmac β€” Compute AES-CMAC or AES-XCBC-MAC in one shot 🌸


πŸŽ€ SYNOPSIS πŸŽ€

void aes_cmac (const struct aes_cmac_key *key , const u8 *data , size_t
data_len , u8 out[static AES_BLOCK_SIZE] );

πŸ’… ARGUMENTS πŸ’…

  • key β€” The key to use πŸ”‘
  • data β€” The message data πŸ“¨
  • data_len β€” The data length in bytes πŸ“
  • out β€” (output) The resulting AES-CMAC or AES-XCBC-MAC value 🎁

πŸ”₯ DESCRIPTION πŸ”₯

This supports both AES-CMAC and AES-XCBC-MAC, no cap. Which one is done depends on whether aes_cmac_preparekey or aes_xcbcmac_preparekey was called. That's the whole vibe check right there. ✨


πŸ¦‹ CONTEXT πŸ¦‹

Any context. Literally any context. 🫢


🌈 SEE ALSO 🌈


mwah πŸ’‹ this iconic little page comes from source/version ./include/crypto, dated October 2026, and yes bestie it is still aes_cmac(9) β€” bye, slay, periodt πŸ«ΆπŸ’–

πŸ“¦ where this page comes from