diff options
| author | Simon Glass <[email protected]> | 2021-07-18 14:17:58 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2021-08-01 09:05:24 -0600 |
| commit | 1db235a186c001a50e5f5db9b587bbaa4e397ee7 (patch) | |
| tree | c023f64a2ddb6a32033e43243ad8e594efeb22ba /scripts | |
| parent | 974c98f26c765f323433b0c52e02ea3a777bc80f (diff) | |
sandbox: tpm: Tidy up reading and writing of device state
At present this code assumes that the TPM data has been read but this may
not be the case. Refactor the code to use a separate pointer so we know
the current state of the data.
Add error checking for the data size.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
