pub fn tpm_build_command<C>(
command: &C,
tag: TpmSt,
sessions: &[TpmsAuthCommand],
writer: &mut TpmWriter<'_>,
) -> TpmResult<()>where
C: TpmHeader + TpmBodyBuild,Expand description
Builds a TPM command into a writer and returns the total bytes written.
ยงErrors
Returns Err(TpmError) on a build failure.