omac1_aes_128_vector(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… omac1_aes_128_vector β€” Kernel API Manual ✨

okay bestie, so this page is omac1_aes_128_vector(9), and it's literally a manual page from the Kernel API Manual β€” yes, that's the manual name, we're not copying the header line, we're folding it in like a true main character πŸŽ€


✨ NAME ✨

omac1_aes_128_vector β€” One-Key CBC MAC (OMAC1) hash with AES-128 πŸ¦‹

🌸 SYNOPSIS 🌸

int omac1_aes_128_vector (u8 *key , size_t num_elem , u8 *addr[] ,
       size_t *len , u8 *mac );

πŸŽ€ ARGUMENTS πŸŽ€

  • key β€” the 128-bit key for the hash operation πŸ”‘ like, the whole secret vibe of this thing
  • num_elem β€” number of elements in the data vector, i.e. how many lil pieces of data you're handing over
  • addr β€” pointers to the data areas πŸ‘‰πŸ‘ˆ yes, plural, it's an array of pointers
  • len β€” the lengths of the data blocks πŸ“ so it knows how big each one is
  • mac β€” buffer for the MAC (128 bits, i.e., 16 bytes) β€” this is where the finished MAC gets dropped off πŸ’Œ

🫢 RETURN 🫢

  • 0 on success β€” slay βœ…
  • -1 on failure β€” not slay 😭

πŸ’œ DESCRIPTION πŸ’œ

So basically this is a mode for using a block cipher (AES in this case, obviously) for authentication. That's the whole gig: auth, not encryption, don't get it twisted πŸ’…

And the lore: OMAC1 was standardized with the name CMAC by NIST in a Special Publication (SP) 800-38B. periodt. That's the tea πŸ“

ngl, the exact numbers and spec names matter here β€” OMAC1, CMAC, NIST, SP, 800-38B β€” keep them exactly as they are, bestie πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page 🧚 this cutie came from ./drivers/staging/rtl8723bs/core and it's dated October 2026 β€” go off, October 2026, you iconic little timestamp πŸ‘‘πŸ’–

πŸ“¦ where this page comes from