cloud-hypervisor/tpm/src
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
..
emulator.rs tpm: rework set_buffer_size 2023-01-26 07:57:48 +00:00
lib.rs tpm: Add emulator module 2022-11-15 16:42:21 +00:00
socket.rs