crypto_krb5..._is_the_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” this is the page for crypto_krb5..._is_the_data(9), and we're gonna find the data in a decrypted message together πŸ’–

crypto_krb5_where_is_the_data β€” find the data in a decrypted message. No cap, that's literally the whole assignment.


🌸 SYNOPSIS 🌸

int crypto_krb5_where_is_the_data (const struct krb5_enctype *krb5 ,
       enum krb5_crypto_mode mode , size_t *_offset , size_t *_len );

πŸŽ€ ARGUMENTS πŸŽ€

  • krb5 β€” The encoding to use.
  • mode β€” Mode of operation.
  • _offset β€” Offset of the secure blob in the buffer; updated to data offset.
  • _len β€” The length of the secure blob; updated to data length.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function finds the offset and size of the data in a secure message so that this information can be used in the metadata buffer which will get added to the digest by crypto_krb5_verify_mic.

It's giving β€œwhere is the data?” but make it kernel crypto, and honestly? iconic behavior ✨


πŸ”₯ RETURN πŸ”₯

Returns 0 if successful, -EBADMSG if the message is too short or -EINVAL if the mode is unsupported.

bestie if you get -EBADMSG, the message was too short; if you get -EINVAL, the mode is unsupported. fr fr.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./crypto/krb5/krb5_api.c

The whole squad, periodt:


mwah πŸ’‹ this lil page comes from ./crypto/krb5, dated October 2026 β€” ty for reading, bestie, ily! πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from