crypto_sig_set_pubkey(9)
π NAME π
okay so bestie, this is the manual page for crypto_sig_set_pubkey(9) from the Kernel API Manual, and its whole vibe is: Invoke set public key operation. periodt β¨
π SYNOPSIS π
int crypto_sig_set_pubkey (struct crypto_sig *tfm , const void *key ,
unsigned int keylen );
π¦ ARGUMENTS π¦
tfmβ tfm handle. literally the handle, bestie π«Άkeyβ BER encoded public key, algo OID, paramlen, BER encoded parameters. yes, all of that is in there πkeylenβ length of the key (not including other data). so just the key length, no extra bits counted π₯
πΈ DESCRIPTION πΈ
This function invokes the algorithm specific set key function, which knows how to decode and interpret the encoded key and parameters. it's giving "the algorithm handles the decoding details" energy π§
π RETURN π
zero on success; error code in case of error. simple as that, no cap π
β 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_digestsize(9)crypto_sig_maxsize(9)crypto_sig_sign(9)crypto_sig_verify(9)crypto_sig_set_privkey(9)
that's the whole page, bestie π source/version is ./include/crypto, and the date on this one is 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