diff options
author | Roberto Sassu <[email protected]> | 2017-06-23 15:41:56 +0200 |
---|---|---|
committer | James Morris <[email protected]> | 2017-07-07 09:49:25 +1000 |
commit | 91f7f3d773a469deeab3808d422363138295346e (patch) | |
tree | 2b5b0c6a781347de25915fc178a034429070f81f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bc397085ca975d685c7a0b3a2984932eea4f6af0 (diff) |
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 <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Tested-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions