KCAPI_AEAD_AUTHSIZE(3)
π KCAPI_AEAD_AUTHSIZE β ok so bestie, meet your new fave function π
Like, this is a page from the libkcapi manual (section 3, the library-functions girlies β¨), and it's all about one little function that tells you how big your authentication tag can get. Short page, big vibes, let's go π
β¨ NAME β¨
kcapi_aead_authsize β return the maximum size of the tag π·οΈ
πΈ SYNOPSIS πΈ
uint32_t kcapi_aead_authsize(struct kcapi_handle * handle);
π¦ ARGUMENTS π¦
handleβ [in] the cipher handle, aka your little passport to the cipher world π«Ά
π DESCRIPTION π
okay so here's the tea β β what this function hands back to you is the maximum: like, the biggest size of the authentication tag that your AEAD cipher can possibly produce π
And bestie, "maximum" is doing real work in that sentence, because smaller tag sizes may be chosen depending on the AEAD cipher type π. So don't come for this function expecting the exact size you'll use β it's giving ceiling, not destiny β¨
What it returns, fr fr:
> 0β specifying the block size π0β on error π
no cap, if you get a 0 back, something went wrong β that's not a size, that's a vibe check that failed π
π AUTHOR π
Stephan Mueller <smueller@chronox.de> β author. icon, legend, the moment π
π COPYRIGHT π
That's all she wrote, bestie π This page is from the libkcapi Manual, version 1.5.0, dated July 2025, and you'll find it filed under KCAPI_AEAD_AUTHSIZE(3) π
go forth and authsize, you absolute main character π¦β¨
π¦ where this page comes from
- fedora 43: libkcapi-devel 1.5.0-6.fc43 Β· BSD-3-Clause OR GPL-2.0-only
- fedora 43: libkcapi-devel 1.5.0-6.fc43 Β· BSD-3-Clause OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms