skcipher_request_set_tfm(9)
skcipher_request_set_tfm(9) π
okay bestie, welcome to the Kernel API Manual β this one is short, sweet, and literally about updating the cipher handle reference in a request. β¨
π NAME π
skcipher_request_set_tfm β update cipher handle reference in request. No cap, thatβs the whole name vibe.
πΈ SYNOPSIS πΈ
void skcipher_request_set_tfm (struct skcipher_request *req , struct crypto_skcipher *tfm );
π¦ ARGUMENTS π¦
reqβ the request handle to be modified. This is the one getting the little glow-up. πtfmβ the cipher handle that shall be added to the request handle. Slay, thatβs the swap. π«Ά
β¨ DESCRIPTION β¨
Okay so hereβs the tea: this function lets the caller replace the existing skcipher handle in the request data structure with a different one. π Thatβs it. Thatβs the whole flex. Itβs giving βswap the handle, keep the request,β fr fr. πΈ
The return type is void, so thereβs no return value to catch β itβs just doing the update and moving on. β¨
π SEE ALSO π
go give these a read, iykyk:
- Kernel file
./include/crypto/skcipher.h struct skcipher_request(9)struct skcipher_alg(9)struct lskcipher_alg(9)Symmetric Key Cipher API(9)crypto_alloc_skcipher(9)crypto_alloc_lskcipher(9)crypto_free_skcipher(9)crypto_free_lskcipher(9)crypto_has_skcipher(9)crypto_skcipher_ivsize(9)crypto_lskcipher_ivsize(9)crypto_skcipher_blocksize(9)crypto_lskcipher_blocksize(9)crypto_skcipher_chunksize(9)crypto_lskcipher_chunksize(9)crypto_skcipher_statesize(9)crypto_lskcipher_statesize(9)crypto_skcipher_setkey(9)crypto_lskcipher_setkey(9)crypto_skcipher_reqtfm(9)crypto_skcipher_encrypt(9)crypto_skcipher_decrypt(9)crypto_skcipher_export(9)crypto_skcipher_import(9)crypto_lskcipher_encrypt(9)crypto_lskcipher_decrypt(9)Symmetric Key Cipher Request Handle(9)crypto_skcipher_reqsize(9)skcipher_request_alloc(9)skcipher_request_free(9)skcipher_request_set_callback(9)skcipher_request_set_crypt(9)
mwah π β this iconic page comes from ./include/crypto, dated October 2026, and itβs serving skcipher_request_set_tfm(9) energy. Bye bestie! π§ββοΈ
π¦ 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