crc7_be(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ crc7_be(9) ✨

okay bestie, welcome to the Kernel API Manual entry for crc7_be β€” it's the little function that updates the CRC7 for a data buffer, and yes we're gonna get into it πŸ’…

🌸 NAME 🌸

crc7_be β€” update the CRC7 for the data buffer

πŸŽ€ SYNOPSIS πŸŽ€

u8 crc7_be (u8 crc , const u8 *buffer , size_t len );

πŸ’– ARGUMENTS πŸ’–

  • crc β€” previous CRC7 value
  • buffer β€” data pointer
  • len β€” number of bytes in the buffer

πŸ¦‹ CONTEXT πŸ¦‹

any β€” literally any context, she's flexible like that 🫢

πŸ”₯ DESCRIPTION πŸ”₯

So crc7_be returns the updated CRC7 value. The CRC7 is left-aligned in the byte β€” the lsbit is always 0 β€” and that's on purpose, because it makes the computation easier, and all callers want it in that form. No cap. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./lib/crc7.c β€” go peek if you want the source vibes πŸ‘€


that's the whole page, bestie β€” source/version ./lib/crc7.c, dated October 2026, and the page is crc7_be(9). stay slay βœ¨πŸ’–

πŸ“¦ where this page comes from