summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2017-05-24 17:39:40 -0400
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2017-06-13 22:02:09 +0300
commitbe4c9acfe2976b6e024d15656254d2eb207b83a8 (patch)
treef06d321362ee2abdecb88530b5fb652fb67d3524 /init
parent85ab3bf305b96e5f4c83b23a0b7e11d90144eb18 (diff)
tpm: vtpm_proxy: Implement request_locality function.
Implement the request_locality function. To set the locality on the backend we define vendor-specific TPM 1.2 and TPM 2 ordinals and send a command to the backend to set the locality for the next commands. To avoid recursing into requesting the locality, we set the TPM_TRANSMIT_RAW flag when calling tpm_transmit_cmd. To avoid recursing into TPM 2 space related commands, we set the space parameter to NULL. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions