qcom_scm_ice_invalidate_key(9)
π qcom_scm_ice_invalidate_key π
okay so bestie, welcome to the Kernel API Manual for qcom_scm_ice_invalidate_key(9) β yes that's a mouthful, yes it's iconic, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
qcom_scm_ice_invalidate_key β invalidate an inline encryption key π
πΈ SYNOPSIS πΈ
int qcom_scm_ice_invalidate_key (u32 index );
π ARGUMENTS π
indexβ the keyslot you want to invalidate, like literally just yeet that keyslot out of existence π
π¦ DESCRIPTION π¦
so the UFSHCI and eMMC standards do define a standard way to do this, bestie, but plot twist: it doesn't work on these SoCs π only this SCM call does. like, the standard way is giving nothing, and this is the main character move that actually works β¨
also important, no cap: it is assumed that the SoC has only one ICE instance being used, because this SCM call doesn't specify which ICE instance the keyslot belongs to. so yeah, one ICE to rule them all, iykyk π
π RETURN π
0 on success; -errno on failure π
π SEE ALSO π
the kernel file ./drivers/firmware/qcom/qcom_scm.c, the struct qcom_scm_qseecom_resp(9), and honestly the whole squad:
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_set_key(9)qcom_scm_derive_sw_secret(9)qcom_scm_generate_ice_key(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)
and that's the whole page, bestie, you ate π this little beauty lives in ./drivers/firmware/qcom and it's dated October 2026 β the manual page qcom_scm_ice_invalidate_key(9) says mwah, bye, go invalidate some keys ππ§
π¦ 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