digsig_verify(9)
π 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 signaturedataβ the datadatalenβ 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
- 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