shishi_authent..._add_cksum_type(3)
β¨ shishi_authenticator_add_cksum_type β¨
okay bestie, sit down, we're doing a shishi manpage and it's from the shishi manual, version 1.0.3. it's a lil API function and honestly? it's giving "small but mighty". π
πΈ NAME πΈ
shishi_authenticator_add_cksum_type β literally an API function, that's the whole name, no notes π
π SYNOPSIS π
#include <shishi.h>
int shishi_authenticator_add_cksum_type(Shishi * handle, Shishi_asn1
authenticator, Shishi_key * key, int keyusage, int cksumtype, char *
data, size_t datalen);
π¦ ARGUMENTS π¦
Shishi * handleβ the shishi handle, the one you got fromshishi_init(). your main character, fr fr.Shishi_asn1 authenticatorβ the authenticator, as allocated byshishi_authenticator(). yes queen, that exact one.Shishi_key * keyβ the key you're using for encryption. πint keyusageβ the cryptographic key usage value that gets used in the encryption. yes it matters, no you can't skip it.int cksumtypeβ the checksum type to calculate the checksum with. (the original says "checksum to type to calculate checksum" and honestly? we love a messy icon. it means: which checksum type, bestie.)char * dataβ the input array holding the data you want the checksum calculated on.size_t datalenβ the size of that input array with the data you want the checksum calculated on. the vibes must be sized correctly. π
π DESCRIPTION π
so basically: you calculate a checksum for the data, and then you store it in the authenticator. that's the whole plot. no cap. β¨
π RETURN VALUE π
Returns SHISHI_OK iff successful. that's it. SHISHI_OK = slay, anything else = we do not talk about it π
π₯ REPORTING BUGS π₯
found a bug? do NOT suffer in silence, bestie, report it 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. iconic behaviour, honestly. π«Ά
β 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, this command:
info shishi
should give you access to the complete manual. iykyk. π§
not me ending this whole thing with the full lore drop: this page is from shishi, version1.0.3, and it lives under the manual section forshishi_authent..._add_cksum_type(3). periodt. π πΈ
π¦ 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