cloud-hypervisor/tpm
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
..
src tpm: be more consistent when converting responses 2023-01-31 18:09:28 +00:00
Cargo.toml misc: Bulk update dependencies 2022-12-07 18:24:58 +00:00