diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2017-06-23 15:41:56 +0200 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-07-07 09:49:25 +1000 |
commit | 91f7f3d773a469deeab3808d422363138295346e (patch) | |
tree | 2b5b0c6a781347de25915fc178a034429070f81f /mm | |
parent | bc397085ca975d685c7a0b3a2984932eea4f6af0 (diff) | |
download | linux-91f7f3d773a469deeab3808d422363138295346e.tar.bz2 |
tpm: use tpm_buf functions in tpm2_pcr_read()
tpm2_pcr_read() now builds the PCR read command buffer with tpm_buf
functions. This solution is preferred to using a tpm2_cmd structure,
as tpm_buf functions provide protection against buffer overflow.
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions