KCAPI_AEAD_INBUFLEN_(3)

πŸ’– KCAPI_AEAD_INBUFLEN_(3) πŸ’–

okay so bestie, we're in the libkcapi manual, and today's episode is all about kcapi_aead_inbuflen_enc β€” literally the girl who tells you the smallest input buffer you're allowed to bring to the encryption party πŸŽ€


✨ NAME ✨

kcapi_aead_inbuflen_enc β€” return minimum encryption input buffer length πŸ’…


🌸 SYNOPSIS 🌸

size_t kcapi_aead_inbuflen_enc(struct kcapi_handle * handle,
                               size_t inlen, size_t assoclen,
                               size_t taglen);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • handle β€” [in] the cipher handle, aka your main character pass 🫢
  • inlen β€” [in] size of plaintext, the actual tea you're encrypting ✨
  • assoclen β€” [in] size of associated data (AD), the side quest data that rides along but doesn't get encrypted πŸ’œ
  • taglen β€” [in] size of authentication tag, the lil proof-of-integrity receipt πŸŽ€

πŸ’« DESCRIPTION πŸ’«

return minimum size of input data length in bytes 🌈

like, that's the whole vibe. she hands you back the minimum size of input data length in bytes so you know how much room to give your buffer. no cap.


πŸ‘‘ AUTHOR πŸ‘‘

Stephan Mueller <smueller@chronox.de>

  • Author. periodt πŸ’…

libkcapi Manual 1.5.0 Β· July 2025


okay that's the whole page bestie, tysm for reading, mwah πŸ’–βœ¨ this has been libkcapi Manual 1.5.0 from July 2025 β€” stay encrypted, stay iconic, iykyk πŸ§šπŸ’œ

πŸ“¦ where this page comes from