qcom_scm_generate_ice_key(9)
β¨ qcom_scm_generate_ice_key β¨
okay so bestie, welcome to the qcom_scm_generate_ice_key(9) page β it's a kernel API manual entry and honestly it's giving "small function, big responsibilities" π
πΈ NAME πΈ
qcom_scm_generate_ice_key β literally generates a wrapped key for storage encryption π
π¦ SYNOPSIS π¦
int qcom_scm_generate_ice_key (u8 *lt_key , size_t lt_key_size );
π ARGUMENTS π
lt_keyβ the output buffer where the long-term wrapped key gets dropped off, bestie. That's where it lives now πlt_key_sizeβ the size oflt_keyin bytes. And no, you can't just vibe-check this one: it must be the exact wrapped key size used by the SoC. Exact. Not "close enough." The SoC is not flexible about this, periodt β¨
π DESCRIPTION π
So the tea is: this bad boy generates a key using the built-in HW module in the SoC β like, the hardware does the actual work, main character energy π₯
And the resulting key comes back wrapped with the platform-specific Key Encryption Key. Wrapped, bestie. That's the whole point π
π«Ά RETURN π«Ά
0on success β slay π-errnoon failure β not slay π
π SEE ALSO π
Kernel file ./drivers/firmware/qcom/qcom_scm.c β go read it, iykyk π
qcom_scm_qseecom_resp(9)qcom_scm_call(9)qcom_scm_call_atomic(9)qcom_scm_set_warm_boot_addr(9)qcom_scm_set_cold_boot_addr(9)qcom_scm_cpu_power_down(9)qcom_scm_is_pas_available(9)qcom_scm_restore_sec_cfg_available(9)qcom_scm_assign_mem(9)qcom_scm_ocmem_lock_available(9)qcom_scm_ocmem_lock(9)qcom_scm_ocmem_unlock(9)qcom_scm_ice_available(9)qcom_scm_ice_invalidate_key(9)qcom_scm_ice_set_key(9)qcom_scm_derive_sw_secret(9)qcom_scm_prepare_ice_key(9)qcom_scm_import_ice_key(9)qcom_scm_hdcp_available(9)qcom_scm_hdcp_req(9)qcom_scm_qseecom_call(9)qcom_scm_qseecom_get_version(9)qcom_scm_qseecom_app_get_id(9)qcom_scm_qseecom_app_send(9)qcom_scm_qtee_invoke_smc(9)qcom_scm_qtee_callback_response(9)qcom_scm_is_available(9)
ngl that's a lot of cross-references, but every single one of them is iconic in its own way π§ββοΈ
k that's the whole page, mwah π β this one came from ./drivers/firmware/qcom, dated October 2026, and it's the qcom_scm_generate_ice_key(9) manual, fr fr π
π¦ 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