crypto_alloc_lskcipher(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie πŸ’– this is crypto_alloc_lskcipher(9) from the Kernel API Manual, and it’s literally the page for grabbing a linear symmetric key cipher handle. slay. ✨

πŸŽ€ NAME πŸŽ€

crypto_alloc_lskcipher β€” allocate linear symmetric key cipher handle

πŸ¦‹ SYNOPSIS πŸ¦‹

struct crypto_lskcipher * crypto_alloc_lskcipher (const char *alg_name ,
u32 type , u32 mask );

🌸 ARGUMENTS 🌸

  • alg_name β€” is the cra_name / name or cra_driver_name / driver name of the lskcipher. iykyk πŸ’…
  • type β€” specifies the type of the cipher.
  • mask β€” specifies the mask for the cipher.

✨ DESCRIPTION ✨

Allocate a cipher handle for an lskcipher. The returned struct crypto_lskcipher is the cipher handle that is required for any subsequent API invocation for that lskcipher. like, this is your main-character handle for everything after πŸ‘‘πŸ«Ά

πŸ’œ RETURN πŸ’œ

allocated cipher handle in case of success; IS_ERR is true in case of an error, PTR_ERR returns the error code. so if things go off, check IS_ERR and let PTR_ERR spill the error code 😭✨

🌈 SEE ALSO 🌈

go read these, bestie β€” no cap πŸ¦‹:


okay bye bestie πŸ’‹ this page comes from ./include/crypto, dated October 2026, and it’s literally crypto_alloc_lskcipher(9) β€” periodt πŸ’–πŸ¦‹

πŸ“¦ where this page comes from