STRUCT DBC_USER_NONCE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct dbc_user_nonce(9) β€” the nonce exchange structure, and yes it’s both input and output. This is straight from the Kernel API Manual, bestie, and it’s giving β€œtiny struct, big authentication energy.” πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

       struct dbc_user_nonce {
           __u32 auth_needed;
           __u8 nonce[DBC_NONCE_SIZE];
           __u8 signature[DBC_SIG_SIZE];
        };

πŸŽ€ Members πŸŽ€

  • auth_needed β€” whether the PSP should authenticate this request (input). It’s a __u32, and the vibes are very specific: 0 means no authentication, and the PSP will return a single use nonce. 1 means authentication, and the PSP will return a multi-use nonce. Lowkey a whole personality switch for one little number. ✨
  • nonce β€” an 8 byte value used for future authentication (output). It lives in the __u8 nonce[DBC_NONCE_SIZE] field, and it’s literally the little future-auth token of the group. πŸŽ€
  • signature β€” optional 32 byte signature created by software using a previous nonce (input). It’s chillin’ in the __u8 signature[DBC_SIG_SIZE] field, and it is optional, so no pressure. πŸ¦‹

🌈 SEE ALSO 🌈

Go peek at these, bestie β€” they’re all in the same lore:


Ok that’s the whole page, periodt. πŸ’– This one’s sourced from ./include/uapi/linux and dated October 2026 β€” mwah, bye bestie! πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from