SHISHI_AP_AUTHENTICATOR_CKSUMRAW_SET(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

✨ shishi_ap_authenticator_cksumraw_set(3) ✨

okay so bestie, we're in the shishi manual, section 3 (that's the library functions girlies πŸ’…), and today's main character is shishi_ap_authenticator_cksumraw_set. yes it's a mouthful. no we're not shortening it. it's iconic, it ate, periodt.


🌸 NAME 🌸

shishi_ap_authenticator_cksumraw_set β€” literally just an API function, bestie. that's the whole job description.


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

void shishi_ap_authenticator_cksumraw_set(Shishi_ap * ap, int32_t
authenticatorcksumtype, const char * authenticatorcksumraw, size_t
authenticatorcksumrawlen);

look at that signature. four args. she's got range. πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi_ap * ap β€” the structure that holds all the info about the AP exchange. she's the whole vibe container, the main character of the struct-iverse.
  • int32_t authenticatorcksumtype β€” the authenticator checksum type you wanna set in the AP. the type, not the data. very important distinction, don't play yourself.
  • const char * authenticatorcksumraw β€” input array holding the actual authenticator checksum field value you want to set in the Authenticator inside the AP-REQ. raw and unfiltered, just like your group chat at 2am.
  • size_t authenticatorcksumrawlen β€” the length of that input array, aka the checksum field value being set in the Authenticator in the AP-REQ. you gotta tell her how long it is, she's not a mind reader 🫢

🌈 DESCRIPTION 🌈

so what this does: it sets the Authenticator Checksum Data in the AP exchange.

and this is the important part, bestie, listen up β€” this is the actual checksum field. not the data you compute a checksum on and then store in the checksum field. like, this is the final product, not the ingredients. do not mix those up or the whole thing is giving chaos 😭

lowkey also peep shishi_ap_authenticator_cksumdata_set if you want the other one. they're different. iykyk. ✨


πŸ’€ REPORTING BUGS πŸ’€

found a bug? spill it to <bug-shishi@gnu.org>. they want the tea fr fr.


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. slay, honestly. generous queen. πŸ’œ


⭐ SEE ALSO ⭐

the full documentation for shishi is maintained as a Texinfo manual (very old school, very chic). if the info and shishi programs are properly installed at your site, this command:

info shishi

should give you access to the complete manual. go forth and read, bestie 🧚


and that's the whole page, no notes πŸ’… this was shishi version 1.0.3, shishi_ap_authe...or_cksumraw_set(3) β€” mwah, bye!! πŸŒΈβœ¨πŸŽ€