pub fn tpm_build_command<C>(
command: &C,
tag: TpmSt,
sessions: &[TpmsAuthCommand],
writer: &mut TpmWriter<'_>,
) -> TpmResult<()>where
C: TpmHeaderCommand,Expand description
Builds a TPM command into a writer and returns the total bytes written.
ยงErrors
TpmErrorKind::ValueTooLargeif the command has unknown state