gss_krb5_aead_decrypt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to the gss_krb5_aead_decrypt(9) page from the Kernel API Manual β€” it's literally about decrypting a wrap token using crypto/krb5, and yes, that's the whole vibe. slay.

πŸŽ€ SYNOPSIS πŸŽ€

u32 gss_krb5_aead_decrypt (struct krb5_ctx *kctx , u32 offset , u32 len
       , struct xdr_buf *buf , u32 *headskip , u32 *tailskip );

✨ ARGUMENTS ✨

  • kctx β€” the Kerberos context, aka the main-character context for this whole operation πŸ’«
  • offset β€” byte offset of the GSS token header in buf. yep, exactly that.
  • len β€” total length of the GSS token. the whole token, no cap.
  • buf β€” ciphertext buffer, decrypted in-place. it gets changed right there in the buffer, bestie.
  • headskip β€” OUT: confounder length, in octets πŸŽ€
  • tailskip β€” OUT: checksum length, in octets πŸ¦‹

🌸 DESCRIPTION 🌸

so the return values are giving very specific energy, and you need to know them:

  • GSS_S_COMPLETE: Decryption and integrity verification succeeded βœ…
  • GSS_S_BAD_SIG: Integrity checksum did not match 😭
  • GSS_S_DEFECTIVE_TOKEN: Token is malformed or truncated πŸ’€
  • GSS_S_FAILURE: Decryption failed πŸ™ˆ

like, those are the outcomes. no extra lore, just the facts, fr fr.

πŸ¦‹ SEE ALSO πŸ¦‹


made with πŸ’– from ./net/sunrpc/auth_gss β€” October 2026 edition, bestie. decrypt responsibly and stay iconic πŸ‘‘βœ¨

πŸ“¦ where this page comes from