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> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||