SHISHI_AP_AUTHENTICATOR_CKSUMDATA(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 struct
  • char * out β€” the output array that holds authenticator checksum data ✨ yes queen, this is where the goods land
  • size_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 get SHISHI_TOO_SMALL_BUFFER, don't panic β€” just read len, 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 Β© 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 πŸ“πŸ§šπŸ’œ