crypto_free_skcipher(9)
π crypto_free_skcipher β the Kernel API Manual glow-up β¨
okay bestie, welcome to the Kernel API Manual, page crypto_free_skcipher(9) π this one is short but she is important β it's the cleanup girlie of the symmetric key cipher world, and honestly she ate π
π¦ NAME
crypto_free_skcipher β zeroize and free cipher handle πΈ
like, she wipes the secrets clean and then frees the handle. no cap, zeroize first is the whole vibe check π₯
β¨ SYNOPSIS
void crypto_free_skcipher (struct crypto_skcipher *tfm );
π«Ά ARGUMENTS
tfmβ the cipher handle to be freed π that's it, that's the whole argument list, she's low maintenance
π DESCRIPTION
okay so here's the tea β β if tfm is a NULL pointer or an error pointer, this function does literally nothing. no crash, no drama, no chaos. it just vibes and returns π§β¨
so yes, you can call her on your messy error-path handles and she will not make it weird π«Ά iconic behavior, honestly π
π SEE ALSO
the whole friend group π every single one of these, no skips:
- 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_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_set_tfm(9)skcipher_request_alloc(9)skcipher_request_free(9)skcipher_request_set_callback(9)skcipher_request_set_crypt(9)
π reminder bestie: "does nothing on NULL or error pointer" is a feature, not an invitation to pass garbage. free your real handles, ok? π«Ά
and that's the whole page, short and slay β¨ she comes from the source spot ./include/crypto, dated October 2026, and she's filed under crypto_free_skcipher(9) in the Kernel API Manual ππ bye bestie, go zeroize responsibly ππ¦
π¦ 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