diff options
author | apronin@chromium.org <apronin@chromium.org> | 2016-07-14 18:07:18 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-07 15:23:43 +0200 |
commit | 803e26487a03730c6afa9cd70538698f10f0e87e (patch) | |
tree | 05ae98f9cf5dd88e1f7445f5f36758fa3e6c20d5 /Documentation | |
parent | 6b502c1d73b49bd425f363765330da7fd7d46a20 (diff) |
tpm: fix byte-order for the value read by tpm2_get_tpm_pt
commit 1b0612b04090e416828c0dd5ed197b0913d834a0 upstream.
The result must be converted from BE byte order, which is used by the
TPM2 protocol. This has not popped out because tpm2_get_tpm_pt() has
been only used for probing.
Fixes: 7a1d7e6dd76a ("tpm: TPM 2.0 baseline support")
Change-Id: I7d71cd379b1a3b7659d20a1b6008216762596590
Signed-off-by: Andrey Pronin <apronin@chromium.org>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions