crypto_has_aead(9)
π NAME π
okay so bestie, meet crypto_has_aead β straight out of the Kernel API Manual, no cap. Its whole entire thing? Search for the availability of an aead. Thatβs it. Thatβs the vibe. π
β¨ SYNOPSIS β¨
int crypto_has_aead (const char *alg_name , u32 type , u32 mask );
bestie look at those three little args, theyβre literally the whole plot π
π ARGUMENTS π
alg_nameβ this is thecra_name/ name orcra_driver_name/ driver name of the aead. yes, either flavor, she accepts both πtypeβ specifies the type of the aead. iconic specificity.maskβ specifies the mask for the aead. the matching energy we need β¨
π¦ RETURN π¦
It gives you true when the aead is known to the kernel crypto API; false otherwise. fr fr, thatβs the whole return situation πΈ
π₯ SEE ALSO π₯
the whole extended squad, in order, no one left behind π
- Kernel file
./include/crypto/aead.hβ Authenticated Encryption With Associated Data (AEAD) Cipher API(9) struct aead_request(9)struct aead_alg(9)crypto_alloc_aead(9)crypto_free_aead(9)crypto_aead_ivsize(9)crypto_aead_authsize(9)crypto_aead_blocksize(9)crypto_aead_setkey(9)crypto_aead_setauthsize(9)crypto_aead_encrypt(9)crypto_aead_decrypt(9)Asynchronous AEAD Request Handle(9)crypto_aead_reqsize(9)aead_request_set_tfm(9)aead_request_alloc(9)aead_request_free(9)aead_request_set_callback(9)aead_request_set_crypt(9)aead_request_set_ad(9)
mwah π huge kisses from ./include/crypto, October 2026, and crypto_has_aead(9) itself β thatβs the cute lil sign-off, 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