diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2018-03-26 15:14:06 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2018-07-28 17:03:11 +0300 |
commit | ce63c05b664e491b4cc79c713c68d8170bd0f581 (patch) | |
tree | 077b94156127e47016990cee8186e85591f41b77 /drivers/char/ps3flash.c | |
parent | 2ab3241161b3c340617063beea199e9966ee90c9 (diff) |
tpm: migrate tpm2_get_random() to use struct tpm_buf
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>
Diffstat (limited to 'drivers/char/ps3flash.c')
0 files changed, 0 insertions, 0 deletions