crypto_sig_digestsize(9)
πΈ NAME πΈ
Hey bestie π this is crypto_sig_digestsize(9) from the Kernel API Manual, and it's here to help you get the maximum digest size β¨
crypto_sig_digestsize β Get maximum digest size π
β¨ SYNOPSIS β¨
unsigned int crypto_sig_digestsize (struct crypto_sig *tfm );
π ARGUMENTS π
tfmβ signature tfm handle allocated withcrypto_alloc_sigπ«Ά
π DESCRIPTION π
Okay so picture this: the function returns the maximum digest size in bytes π₯. It assumes that the key is already set in the transformation, no cap.
β οΈ But bestie, listen: if this function is called without asetkeyor with a failedsetkey, you may end up in aNULLdereference ππ. That's the warning, fr fr.
π¦ SEE ALSO π¦
- Kernel file
./include/crypto/sig.h struct crypto_sig(9)struct sig_alg(9)Generic Public Key Signature API(9)crypto_alloc_sig(9)crypto_free_sig(9)crypto_sig_keysize(9)crypto_sig_maxsize(9)crypto_sig_sign(9)crypto_sig_verify(9)crypto_sig_set_pubkey(9)crypto_sig_set_privkey(9)
That's the whole vibe, bestie π«Ά β source is ./include/crypto, date is October 2026, and the page is crypto_sig_digestsize(9). Bye π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms