ahash_request_set_tfm(9)
π NAME π
okay bestie, this page is ahash_request_set_tfm(9) from the Kernel API Manual. It does exactly one iconic thing: update cipher handle reference in request. Literally the βswap the tfmβ move, no cap.
β¨ SYNOPSIS β¨
void ahash_request_set_tfm (struct ahash_request *req , struct
crypto_ahash *tfm );
Thatβs the whole signature, untouched and slaying in its natural habitat.
π ARGUMENTS π
reqβ the request handle to be modified. This is the thing getting a little update, bestie.tfmβ the cipher handle that shall be added to the request handle. Yes, itβs the new tfm moving in.
π¦ DESCRIPTION π¦
Allow the caller to replace the existing ahash handle in the request data structure with a different one. Thatβs the whole vibe: out with the old ahash handle, in with a different one. Itβs giving βrequest data structure refresh,β and honestly? Slay.
π SEE ALSO π
go read these too, bestie β theyβre all linked in the original and Iβm not skipping a single one:
Kernel file ./include/crypto/hash.hMessage Digest Algorithm Definitions(9)struct ahash_alg(9)struct shash_alg(9)Asynchronous Message Digest API(9)crypto_alloc_ahash(9)crypto_free_ahash(9)crypto_has_ahash(9)crypto_ahash_blocksize(9)crypto_ahash_digestsize(9)crypto_ahash_statesize(9)crypto_ahash_reqtfm(9)crypto_ahash_reqsize(9)crypto_ahash_setkey(9)crypto_ahash_finup(9)crypto_ahash_final(9)crypto_ahash_digest(9)crypto_ahash_export(9)crypto_ahash_import(9)crypto_ahash_init(9)crypto_ahash_update(9)Asynchronous Hash Request Handle(9)ahash_request_alloc(9)ahash_request_free(9)ahash_request_set_callback(9)ahash_request_set_crypt(9)ahash_request_set_virt(9)Synchronous Message Digest API(9)crypto_alloc_shash(9)crypto_free_shash(9)crypto_shash_blocksize(9)crypto_shash_digestsize(9)crypto_shash_descsize(9)crypto_shash_setkey(9)crypto_shash_digest(9)crypto_shash_tfm_digest(9)crypto_shash_export(9)crypto_shash_import(9)crypto_shash_init(9)crypto_shash_finup(9)crypto_shash_update(9)crypto_shash_final(9)
xoxo, your kernel bestie π
β signed off from source/version ./include/crypto, dated October 2026, repping ahash_request_set_tfm(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