[PATCH 5.10 528/663] KEYS: trusted: Fix incorrect handling of tpm_get_random()