crypto_krb5_how_much_buffer(9)
β¨ NAME β¨
okay so this is crypto_krb5_how_much_buffer(9) from the Kernel API Manual, and bestie it does exactly one iconic thing: work out how much buffer is required for an amount of data π
β¨
πΈ SYNOPSIS πΈ
size_t crypto_krb5_how_much_buffer (const struct krb5_enctype *krb5 ,
enum krb5_crypto_mode mode , size_t data_size , size_t *_offset );
π ARGUMENTS π
krb5β the encoding to use β¨modeβ the mode in which to operate (checksum/encrypt) π«Άdata_sizeβ how much data we want to allow for π_offsetβ where to place the offset into the buffer π
π DESCRIPTION π
okay so this function calculates how much buffer space is required to wrap a given amount of data. it allows for a confounder, padding and checksum as appropriate β no cap, thatβs the whole vibe check π¦
the amount of buffer required is returned, and the offset into the buffer at which the data will start is placed in *_offset. literally thatβs it, and it ate π₯
π¦ SEE ALSO π¦
- Kernel file
./crypto/krb5/krb5_api.c crypto_krb5_find_enctype(9)crypto_krb5_how_much_data(9)crypto_krb5_where_is_the_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)
source/version: ./crypto/krb5 π«Ά date: October 2026 β¨ stay hydrated bestie, this page is done ππ§
π¦ 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