crypto_has_skcipher(9)
π crypto_has_skcipher β the kernel API manual, but make it make sense π
okay so bestie, welcome to crypto_has_skcipher(9) β¨ this is a Kernel API Manual page and honestly? it's short, it's sweet, and it does exactly one thing. let's get into it π«Ά
πΈ NAME πΈ
crypto_has_skcipher β bestie, it literally just searches for the availability of an skcipher. that's it. that's the whole gig π
β¨ SYNOPSIS β¨
int crypto_has_skcipher (const char *alg_name , u32 type , u32 mask );
look at her. three args, one int, zero drama π
π ARGUMENTS π
alg_nameβ this is either thecra_name/ name or thecra_driver_name/ driver name of the skcipher. so you can call her by her government name or her stage name, either one works π¦typeβ specifies the type of the skcipher. yes, you do gotta tell it π§maskβ specifies the mask for the skcipher. matching vibes, essentially π«
π RETURN π
true when the skcipher is known to the kernel crypto API π false otherwise π
that's the vibe check, periodt.
π₯ SEE ALSO π₯
okay this is the part where she lists literally everyone she knows, and honestly? iconic. no gatekeeping here π
Kernel file ./include/crypto/skcipher.h, plus:
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_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)
like I said. everyone. the whole group chat π«Άβ¨
ngl the whole page is basically one function asking "does this skcipher exist, yes or no" β and the answer comes back astrueorfalse. no cap. that's the API πΈ
k bye ily, this page lives in ./include/crypto, it's from October 2026, and it's filed under crypto_has_skcipher(9) β go check for your skciphers responsibly 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