cloud-hypervisor/tpm/src
Wei Liu 29ebecccb0 tpm: be more consistent when converting responses
Do the following:

1. Use from_be_bytes to drop mutable slices.
2. Check for the exact buffer size throughout.
3. Simplify ptm_to_request where possible.
4. Make error messages style consistent.

Fix a typo in code comment while at it.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
2023-01-31 18:09:28 +00:00
..
emulator.rs tpm: handle short write 2023-01-31 18:09:28 +00:00
lib.rs tpm: be more consistent when converting responses 2023-01-31 18:09:28 +00:00
socket.rs tpm: save almost 8KB stack space 2023-01-31 18:09:28 +00:00