+10
−9
+41
−61
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
In order to make struct tpm_buf the first class object for constructing TPM commands, migrate tpm2_get_random() to use it. In addition, removed remaining references to struct tpm2_cmd. All of them use it to acquire the length of the response, which can be achieved by using tpm_buf_length(). Signed-off-by:Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by:
Nayna <Jain<nayna@linux.vnet.ibm.com>