digsig_verify(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– digsig_verify(9) πŸ’–

Okay bestie, this is from the Kernel API Manual, and the page name is digsig_verify(9) β€” we’re doing public-key digital signature verification and it’s giving kernel-crypto main character energy πŸ”₯


✨ NAME ✨

digsig_verify β€” digital signature verification with public key πŸ‘‘


🌸 SYNOPSIS 🌸

int digsig_verify (struct key *keyring , const char *sig , int siglen ,
       const char *data , int datalen );

πŸŽ€ ARGUMENTS πŸŽ€

  • keyring β€” the keyring to search the key in πŸ”Ž
  • sig β€” the digital signature, literally the signature itself πŸ’…
  • siglen β€” length of the signature
  • data β€” the data
  • datalen β€” length of the data

πŸ’… DESCRIPTION πŸ’…

Returns 0 on success, -EINVAL otherwise 😭 periodt.

It verifies data integrity against a digital signature. Currently only RSA is supported πŸ‘‘. Normally, the hash of the content is used as the data for this function, iykyk.


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./lib/digsig.c β€” go look, bestie 🫢


Signed off from the ./lib corner of the kernel, source/version vibes dated October 2026, page digsig_verify(9) πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from