aes_cmac(9)
π 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 resultingAES-CMACorAES-XCBC-MACvalue π
π₯ 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 π
- Kernel file
./include/crypto/aes-cbc-macs.h struct aes_cmac_key(9)aes_cmac_zeroize_key(9)struct aes_cmac_ctx(9)aes_cmac_zeroize_ctx(9)aes_cmac_preparekey(9)aes_xcbcmac_preparekey(9)aes_cmac_init(9)aes_cmac_update(9)aes_cmac_final(9)
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
- 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