crypto_krb5..._is_the_data(9)
π 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:
crypto_krb5_find_enctype(9)crypto_krb5_how_much_buffer(9)crypto_krb5_how_much_data(9)crypto_krb5_check_data_len(9)crypto_krb5_prepare_encryption(9)crypto_krb5_prepare_checksum(9)crypto_krb5_encrypt(9)crypto_krb5_decrypt(9)crypto_krb5_get_mic(9)crypto_krb5_verify_mic(9)
mwah π this lil page comes from ./crypto/krb5, dated October 2026 β ty for reading, bestie, ily! π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms