diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2011-01-11 14:37:29 -0500 |
---|---|---|
committer | Rajiv Andrade <srajiv@linux.vnet.ibm.com> | 2011-02-11 01:30:50 -0200 |
commit | 9b29050f8f75916f974a2d231ae5d3cd59792296 (patch) | |
tree | e556ea7e22297756159a1c564ed576671c419fb8 /crypto/xts.c | |
parent | d3d373e0e3f51f335d8c722dd1340ab812fdf94b (diff) | |
download | blackbird-op-linux-9b29050f8f75916f974a2d231ae5d3cd59792296.tar.gz blackbird-op-linux-9b29050f8f75916f974a2d231ae5d3cd59792296.zip |
tpm_tis: Use timeouts returned from TPM
The current TPM TIS driver in git discards the timeout values returned
from the TPM. The check of the response packet needs to consider that
the return_code field is 0 on success and the size of the expected
packet is equivalent to the header size + u32 length indicator for the
TPM_GetCapability() result + 3 timeout indicators of type u32.
I am also adding a sysfs entry 'timeouts' showing the timeouts that are
being used.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Tested-by: Guillaume Chazarain <guichaz@gmail.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Diffstat (limited to 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions