qcom_ice_derive_sw_secret(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 of eph_key in 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 -errno value β€” yeah, the error lane stays open.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/soc/qcom/ice.c 🧚


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