cloud-hypervisor/tpm
Wei Liu 6e22f23831 tpm: save almost 8KB stack space
The largest possible PTM response is only 16 bytes. Size the output
buffer correctly.

In the socket read function, rely on the caller to provide a
sufficiently large buffer. That eliminates another large stack variable.

In total this saves almost 8KB stack space.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
2023-01-31 18:09:28 +00:00
..
src tpm: save almost 8KB stack space 2023-01-31 18:09:28 +00:00
Cargo.toml misc: Bulk update dependencies 2022-12-07 18:24:58 +00:00