cloud-hypervisor/tpm
Wei Liu 1ce1fe7334 tpm: rework set_buffer_size
Make the code more idiomatic by wrapping the actual size configured in
the returning Result type. This further allows simplifying
get_buffer_size.

The debug message in startup_tpm is more useful if it prints out the
actual size than the wanted size.

No functional change.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
2023-01-26 07:57:48 +00:00
..
src tpm: rework set_buffer_size 2023-01-26 07:57:48 +00:00
Cargo.toml misc: Bulk update dependencies 2022-12-07 18:24:58 +00:00