SHISHI_AP_AUTHENTICATOR_CKSUMDATA(3)
β¨ NAME β¨
shishi_ap_authenticator_cksumdata β it's an API function, bestie, and it's here to hand you the checksum data from an Authenticator π
π SYNOPSIS π
#include <shishi.h>
int shishi_ap_authenticator_cksumdata(Shishi_ap * ap, char * out, size_t
* len);
πΈ ARGUMENTS πΈ
Shishi_ap * apβ the structure that holds all the info about your AP exchange π«Ά like it's literally the whole vibe of the exchange in one structchar * outβ the output array that holds authenticator checksum data β¨ yes queen, this is where the goods landsize_t * lenβ okay so this one is doing double duty π on input, it's the maximum length of the output array that holds authenticator checksum data. On output? It's the actual length of the output array that holds authenticator checksum data. She contains multitudes, no cap.
π DESCRIPTION π
Get checksum data from Authenticator. That's it, that's the whole thing β short and iconic π₯
π RETURN VALUE π
Returns SHISHI_OK if successful π or SHISHI_TOO_SMALL_BUFFER if the buffer you provided was too small β and when that happens, len will hold the necessary buffer size, so she's got you, she's telling you exactly how much room you needed ππ
Real talk: if you getSHISHI_TOO_SMALL_BUFFER, don't panic β just readlen, resize, and come back. It's giving helpful.
π REPORTING BUGS π
Found a bug? Report bugs to <bug-shishi@gnu.org>. π
GNU Shishi home page: http://www.gnu.org/software/shishi/
General help using GNU software: http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2002-2022 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. π«Ά
π¦ SEE ALSO π¦
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command
info shishi
should give you access to the complete manual. Go off, bestie πβ¨
and that's the whole page, mwah π this was shishi version 1.0.3, page shishi_ap_authenticator_cksumdata(3) β slay, stay hydrated, and may your buffers always be big enough ππ§π
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms