crypto_sig_set_pubkey(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is the manual page for crypto_sig_set_pubkey(9) from the Kernel API Manual, and its whole vibe is: Invoke set public key operation. periodt ✨


πŸŽ€ SYNOPSIS πŸŽ€

int crypto_sig_set_pubkey (struct crypto_sig *tfm , const void *key ,
       unsigned int keylen );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • tfm β€” tfm handle. literally the handle, bestie 🫢
  • key β€” BER encoded public key, algo OID, paramlen, BER encoded parameters. yes, all of that is in there πŸ’…
  • keylen β€” length of the key (not including other data). so just the key length, no extra bits counted πŸ”₯

🌸 DESCRIPTION 🌸

This function invokes the algorithm specific set key function, which knows how to decode and interpret the encoded key and parameters. it's giving "the algorithm handles the decoding details" energy 🧚


🌈 RETURN 🌈

zero on success; error code in case of error. simple as that, no cap πŸ’€


⭐ SEE ALSO ⭐


that's the whole page, bestie πŸ’– source/version is ./include/crypto, and the date on this one is October 2026 ✨

πŸ“¦ where this page comes from