akcipher_re...set_callback(9)
π akcipher_re...set_callback(9) π
okay so this is from the Kernel API Manual, and the page is literally called akcipher_re...set_callback (yes the name is truncated with dots, that's just how it is bestie, don't come for it π
). Buckle up, we're setting callbacks on async akcipher requests and it's gonna be iconic.
β¨ NAME β¨
akcipher_request_set_callback β sets an asynchronous callback. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
void akcipher_request_set_callback (struct akcipher_request *req , u32
flgs , crypto_completion_t cmpl , void *data );
like, look at her. four params, returns void, zero drama. π¦
π§ ARGUMENTS π§
reqβ the request that the callback will be set for. this is the main character of the operation, the one we're attaching the callback to. πflgsβ flags, and they specify for instance if the operation may backlog. yes it's spelledflgs, no we're not fixing it, it's canon. πcmplβ the callback which will be called. the whole point of the function honestly, thecmplis the moment. π₯dataβ private data used by the caller. your little stash, your personal lore, passed through for you. π
π DESCRIPTION π
so basically: the callback will be called when an asynchronous operation on a given request is finished. that's the tea. you hand over your cmpl and your data, and when the async op wraps up on that req, your callback gets the glow-up and runs. no cap, that's the entire behavior described here. β
π«Ά SEE ALSO π«Ά
- Kernel file
./include/crypto/akcipher.h struct akcipher_request(9)struct crypto_akcipher(9)struct akcipher_alg(9)Generic Public Key Cipher API(9)crypto_alloc_akcipher(9)crypto_free_akcipher(9)akcipher_request_alloc(9)akcipher_request_free(9)akcipher_request_set_crypt(9)crypto_akcipher_maxsize(9)crypto_akcipher_encrypt(9)crypto_akcipher_decrypt(9)crypto_akcipher_sync_encrypt(9)crypto_akcipher_sync_decrypt(9)crypto_akcipher_set_pub_key(9)crypto_akcipher_set_priv_key(9)
like a whole friend group of crypto functions, go say hi to all of them, iykyk π
and that's the page!! π this little number lives over in ./include/crypto and it's dated October 2026 β yes, 2026, she's from the future, we don't question it. periodt. π
β¨
π¦ 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