crypto_sig_sign(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… crypto_sig_sign(9) β€” Kernel API Manual

okay so bestie, welcome to the Kernel API Manual page for crypto_sig_sign, and honestly? it's giving "small function, big main character energy" ✨


✨ NAME ✨

crypto_sig_sign β€” Invoke signing operation πŸ–ŠοΈ


🌸 SYNOPSIS 🌸

int crypto_sig_sign (struct crypto_sig *tfm , const void *src , unsigned
int slen , void *dst , unsigned int dlen );

πŸŽ€ ARGUMENTS πŸŽ€

  • tfm β€” the signature tfm handle, and no you can't just manifest one into existence, it's allocated with crypto_alloc_sig 🫢
  • src β€” source buffer
  • slen β€” source length
  • dst β€” destination obuffer (yes, "obuffer", that's literally what it says, I'm not fixing it πŸ’€)
  • dlen β€” destination length

πŸ¦‹ DESCRIPTION πŸ¦‹

This function invokes the specific signing operation for a given algorithm. periodt. that's the whole vibe β€” you hand it a tfm, it goes and does the signing thing for whichever algorithm that tfm is about πŸ‘‘


⭐ RETURN ⭐

Signature size on success πŸŽ‰ β€” and an error code in case of error 😭 (so, like, check it, bestie, fr fr)


🌈 SEE ALSO 🌈

Kernel file ./include/crypto/sig.h:


lowkey go read all of those too, they're the friend group and this page is nothing without them πŸ§šπŸ’œ

and that's a wrap! this iconic little page lives in ./include/crypto and it's stamped October 2026 β€” bye bestie, slay your signing πŸ’…πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from