qcom_ice_derive_sw_secret(9)
π qcom_ice_derive_sw_secret(9) π
okay bestie, welcome to the Kernel API Manual β this is the page for qcom_ice_derive_sw_secret(9), and itβs giving βderive a software secret from a wrapped keyβ energy. π No cap, every little detail is staying.
πΈ NAME πΈ
qcom_ice_derive_sw_secret β Derive software secret from wrapped key. π
β¨ SYNOPSIS β¨
int qcom_ice_derive_sw_secret (struct qcom_ice *ice , const u8 *eph_key
, size_t eph_key_size , u8 sw_secret[BLK_CRYPTO_SW_SECRET_SIZE] );
π ARGUMENTS π
iceβ ICE driver data. Thatβs the vibe. π§eph_keyβ an ephemerally-wrapped key. π«Άeph_key_sizeβ size ofeph_keyin bytes.sw_secretβ output buffer for the software secret. β¨
π DESCRIPTION π
So the whole point: use HWKM to derive the βsoftware secretβ from a hardware-wrapped key that is given in ephemerally-wrapped form. Thatβs literally the move. π
π₯ RETURN π₯
0β success, we love to see it.-EBADMSGβ the given ephemerally-wrapped key is invalid. π- or another
-errnovalue β yeah, the error lane stays open.
π¦ SEE ALSO π¦
Kernel file: ./drivers/soc/qcom/ice.c π§
qcom_ice_get_supported_key_type(9)qcom_ice_generate_key(9)qcom_ice_prepare_key(9)qcom_ice_import_key(9)of_qcom_ice_get(9)devm_of_qcom_ice_get(9)
mwah π this has been your Kernel API Manual moment for qcom_ice_derive_sw_secret(9) β source/version vibes from ./drivers/soc/qcom, dated October 2026. xoxo, go derive that secret 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