shishi_ap_etype(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_etype β€” the shishi manual, page 3 ✨

okay bestie, welcome to shishi_ap_etype(3) from the shishi manual set. yes this is a real API function and yes it's gonna be easy, i promise 🫢


✨ NAME ✨

shishi_ap_etype β€” it's an API function, babes. that's the whole name. πŸ’–


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_ap_etype(Shishi * handle, Shishi_ap ** ap, int etype);

look at her. three little args. she's serving πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). you can't skip this, she's the main character πŸ‘‘
  • Shishi_ap ** ap β€” a pointer to a brand new structure that holds all the tea about the AP exchange. she gets filled in for you πŸ¦‹
  • int etype β€” the encryption type of the freshly generated random subkey. literally the flavor of your subkey ✨

πŸ’– DESCRIPTION πŸ’–

so here's the vibe: this function creates a new AP exchange, and it comes with a random subkey of the encryption type you indicated. that's it. that's the function. no cap. 🧚


⭐ RETURN VALUE ⭐

returns SHISHI_OK iff successful. only then. otherwise, not. that's the deal πŸ’€


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not me personally but okay, tell the devs:

they wanna hear it 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.

(iconic of them honestly, royalty-free and everything 🌈)


🌟 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. go read it, it's giving encyclopedic energy πŸ“šβœ¨


πŸ’€ heads up bestie: this page is from version 1.0.3 of shishi, dated with that whole 2002-2022 copyright run β€” so if your local copy is a different vintage, double-check before you @ me 😭

that's the whole page, you ate it, periodt πŸŽ€πŸ’œ