On Wed, Sep 24, 2014 at 10:43:23PM +0300, Jarkko Sakkinen wrote: > What do you think about the way trusted module builds messages? It's > easier to maintain and debug than the approach used in the tpm > subsystem.
Do you have a source reference? In my userspace TPM work I use a code generator to produce all the marshal/unmarshal/AUTH directly from the TPM specification text. The full generality of TPM RPCs is sufficiently complex that hand coding is too error prone. The handful of ops the kernel does is not so bad though... Jason -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

