asymmetric_verify_common(9)
π asymmetric_verify_common(9) π
okay so bestie, this one comes from the Kernel API Manual, and it's the shared verify function for sigv2 and sigv3. no cap, it's giving common-code energy. π
πΈ NAME πΈ
asymmetric_verify_common β sigv2 and sigv3 common verify function. literally the common verify girlie for both. periodt. β¨
β¨ SYNOPSIS β¨
int asymmetric_verify_common (const struct key *key , const struct
public_key *pk , const char *sig , int siglen , const char *data , int
datalen );
The return type is int, and the cast of characters is right below. π
π ARGUMENTS π
keyβ the key to use for signature verification; caller must free it. yes, you own the cleanup, bestie β don't ghost it. π«Άpkβ the associated public key; must not beNULL. this one is non-negotiable, fr fr. πsigβ the xattr signature. that's the signature we're checking. πΈsiglenβ the length of the xattr signature; must be at leastsizeof(struct signature_v2_hdr). lowkey an important size check, don't skip it. πdataβ the data to verify the signature on. this is the actual content in question. π¦datalenβ length ofdata. yep, just the length β iconically simple. β
π¦ SEE ALSO π¦
- Kernel file
./security/integrity/digsig_asymmetric.c asymmetric_verify_v3_hashless(9)
go peek at those if you want the deeper lore, slay. π
mwah π β source/version: ./security/integrity, dated October 2026.
π¦ 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