qcom_ice_generate_key(9)
π qcom_ice_generate_key(9) π
okay so bestie, welcome to the Kernel API Manual page for qcom_ice_generate_key β yes it's a real function name and yes it's iconic β¨
πΈ NAME πΈ
qcom_ice_generate_key β literally the function that generates a wrapped key for inline encryption π
π¦ SYNOPSIS π¦
int qcom_ice_generate_key (struct qcom_ice *ice , u8
lt_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE] );
like, look at that signature. so clean. so main character. π
π ARGUMENTS π
iceβ the ICE driver data, obvs π§ (it's the context you're working with, and you will be passing it in)lt_keyβ the output buffer for the long-term wrapped key ποΈ like, this is where the shiny new wrapped key gets dropped off
β¨ DESCRIPTION β¨
So the whole vibe here: it uses HWKM to generate a brand new key, then hands it back to you as a long-term wrapped key. that's it. that's the function. no cap π«Ά
π₯ RETURN π₯
On success you get the size of the resulting wrapped key (yes, the size, not the key itself, pay attention bestie π). On failure? -errno. classic. π
π SEE ALSO π
Kernel file ./drivers/soc/qcom/ice.c β go read it, iykyk π
qcom_ice_get_supported_key_type(9)qcom_ice_derive_sw_secret(9)qcom_ice_prepare_key(9)qcom_ice_import_key(9)of_qcom_ice_get(9)devm_of_qcom_ice_get(9)
like a little friend group of ICE functions π§π
okay that's the page!! huge shoutout to ./drivers/soc/qcom, the October 2026 era, and the manpage itself qcom_ice_generate_key(9) β slay, ate, periodt πβπ
π¦ 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