qcom_scm_prepare_ice_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qcom_scm_prepare_ice_key(9) πŸ’…

okay bestie, welcome to the Kernel API Manual page for qcom_scm_prepare_ice_key(9). This baddie is all about re-wrapping a key with the per-boot ephemeral key, and honestly? iconic. Let's get into the lore. ✨

🌸 NAME 🌸

qcom_scm_prepare_ice_key β€” Re-wrap a key with the per-boot ephemeral key.

✨ SYNOPSIS ✨

int qcom_scm_prepare_ice_key (const u8 *lt_key , size_t lt_key_size , u8
       *eph_key , size_t eph_key_size );

πŸŽ€ ARGUMENTS πŸŽ€

  • lt_key β€” a long-term wrapped key. That's the key coming in, bestie. πŸ”‘
  • lt_key_size β€” size of lt_key in bytes. Count 'em exactly.
  • eph_key β€” output buffer for the ephemerally-wrapped key. This is where the re-wrapped result lands. πŸ’–
  • eph_key_size β€” size of eph_key in bytes. Must be the exact wrapped key size used by the SoC. No vibes-based sizing, no rounding, literally the exact wrapped key size used by the SoC. πŸ’€

🌈 DESCRIPTION 🌈

Given a long-term wrapped key, re-wrap it with the per-boot ephemeral key for added protection. The resulting key will only be valid for the current boot. So it's giving one-boot-only exclusivity β€” cute for security, tragic for reusing that key later. πŸ˜­πŸ‘‘

πŸ”₯ RETURN πŸ”₯

0 on success; -errno on failure. That's the whole mood. Slay. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

go touch grass in these, bestie:


okay bye bestie πŸ’‹ β€” source/version: ./drivers/firmware/qcom; date: October 2026. Periodt. 🫢

πŸ“¦ where this page comes from