spum_response_hdr_len(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ spum_response_hdr_len(9) ✨

okay so bestie, welcome to the kernel API manual 🫢 this one's a little function from the 9 section (that's the kernel API girlies πŸ’…) and it's literally all about figuring out how big a SPU response header is gonna be. no cap.


🌸 NAME 🌸

spum_response_hdr_len β€” given the length of the hash key and encryption key, determine the expected length of a SPU response header πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

u16 spum_response_hdr_len (u16 auth_key_len , u16 enc_key_len , bool
is_hash );

πŸŽ€ ARGUMENTS πŸŽ€

  • auth_key_len β€” the authentication key length, in bytes πŸ‘‘
  • enc_key_len β€” the encryption key length, in bytes πŸ”₯
  • is_hash β€” a bool, and it's true if the response message is for a hash operation ✨

⭐ RETURN ⭐

the length of the SPU response header, in bytes πŸ’œ


🧚 SEE ALSO 🧚

kernel file ./drivers/crypto/bcm/spu.c (yes, that's the one, iykyk), plus the whole friend group:


πŸ’€ quick vibe check: this page is from ./drivers/crypto/bcm, dated October 2026, bestie β€” that's the source and date, so don't come for me, i'm just relaying the info πŸŽ€

and that's the whole page, periodt πŸ’… ✨ 🌈

πŸ“¦ where this page comes from