blk_crypto_has_capabilities(9)
π blk_crypto_has_capabilities (9) β Kernel API Manual β¨
okay so bestie, welcome to the group chat for blk_crypto_has_capabilities π
this one lives in the <pink>Kernel API Manual</pink> corner of the universe and it's literally the "does ur fave measure up" function, no cap.
π¦ NAME
blk_crypto_has_capabilities β check whether @target supports at least all the crypto capabilities that @reference does π
like, it's a vibe check for crypto profiles. does target have everything reference has? that's the whole question. periodt.
πΈ SYNOPSIS
bool blk_crypto_has_capabilities (const struct blk_crypto_profile
*target , const struct blk_crypto_profile *reference );
so it returns a bool, and it takes two const struct blk_crypto_profile * pointers. both const. we're just looking, not touching, iykyk β¨
π ARGUMENTS
targetβ the target profile π this is the one we're checking, the main character of this whole operation.referenceβ the reference profile π¦ this is the standard, the benchmark, the "be more like her" profile.
β RETURN
true if target supports all the crypto capabilities of reference π
that's it, that's the tea. if target's got at least everything reference has, you get a true. if notβ¦ well. not true, bestie π
π SEE ALSO
- Kernel file
./block/blk-crypto-profile.cπ₯ blk-crypto profiles(9)blk_crypto_profile_init(9)devm_blk_crypto_profile_init(9)blk_crypto_keyslot_index(9)blk_crypto_get_keyslot(9)blk_crypto_put_keyslot(9)blk_crypto_reprogram_all_keys(9)blk_crypto_derive_sw_secret(9)blk_crypto_intersect_capabilities(9)blk_crypto_update_capabilities(9)
the whole crypto-profile friend group, fr fr π«Ά go read them, they're iconic.
okay that's the page!! love u, bye π this cutie lives in ./block and the version on this one is dated October 2026 ποΈ β mwah, see u in the next man page π§β¨
π¦ 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