Conversation

OS does initial scrypt-based key derivation and uses personalized hashes of result for the different uses. One of those is getting the Weaver token from the secure element. Secure element requires owner authentication before firmware can be updated (insider attack protection).
1
1
Another personalized hash is sent along with Weaver token retrieved from the secure element to the TEE. TEE does the hardware bound key derivation, decrypts disk encryption key and passes it to inline decryption hardwar on modern Qualcomm, Exynos and Tensor without OS getting it.
1
1