crypto_register_akcipher(9)
π crypto_register_akcipher(9) β bestie's guide to signing algorithms up for duty π
okay so you found the kernel API manual page for crypto_register_akcipher(9) and you're like "what is this" β don't worry, I got you π«Ά this is the Linux kernel crypto API corner of the docs, and this page is short, sweet, and honestly kind of iconic.
β¨ NAME β¨
crypto_register_akcipher β register a public key algorithm πβ¨
Like, that's the whole vibe. You're introducing the kernel to a shiny new public key cipher implementation.
π¦ SYNOPSIS π¦
int crypto_register_akcipher (struct akcipher_alg *alg );
one function, one pointer, zero drama. π
πΈ ARGUMENTS πΈ
algβ the algorithm definition π i.e. the struct that describes your public key cipher algorithm. This is the little packet of info the kernel needs to know what it's working with.
π DESCRIPTION π
bestie, this function registers an implementation of a public key cipher algorithm β¨ that's it, that's the job. You hand it your struct akcipher_alg * and it goes "noted, added to the roster" ππ
π RETURN π
- zero on success π (zero is the good number here, no cap)
- an error code in case of error π β so like, check it, don't just ignore it, iykyk
fr fr always check the return value, bestie. 0 = we ate. anything else = something went sideways. π
π₯ SEE ALSO π₯
- Kernel file
./include/crypto/internal/akcipher.hπ crypto_unregister_akcipher(9)β the "okay bye" counterpart πakcipher_register_instance(9)β the instance-level sibling π§
that's the whole page, short and iconic π
the source lives in ./include/crypto/internal, this drop is from October 2026, and the page name is crypto_register_akcipher(9) in case you forgot already π mwah, go register some algorithms, you got this πβ¨
π¦ 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