KCAPI_AEAD_SETTAGLEN(3)
π KCAPI_AEAD_SETTAGLEN(3) π
okay bestie, welcome to kcapi_aead_settaglen β yes that's the whole name, no we're not shortening it, it's iconic β¨ (it lives in section 3 of the manual, for the record π)
πΈ NAME πΈ
kcapi_aead_settaglen β set the authentication tag size, periodt π
β¨ SYNOPSIS β¨
int kcapi_aead_settaglen(struct kcapi_handle * handle, uint32_t taglen);
π¦ ARGUMENTS π¦
handleβ [in] the cipher handle, aka your main character π«Άtaglenβ [in] the length of the authentication tag, like how many bytes of tag we're vibing with π₯
π DESCRIPTION π
So basically, this call sets the authentication tag size you need for your encryption operation. The tag itself gets created during the encryption operation, and it shows up with the exact size you handed over in this call. that's it, that's the whole lore π
And the return situation, no cap:
return 0 upon success; a negative errno-style error code if an error occurred π
π AUTHOR π
Stephan Mueller <smueller@chronox.de> β Author. an actual legend, we stan π
π COPYRIGHT π
and that's the tea, bestie π§β¨ this was the libkcapi Manual, version 1.5.0, dated July 2025 β go forth and set those tag lengths, you absolute icon ππ
π¦ 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