 <p>The commands are not described in Part 2 of the Specification but rather in <strong><a href="http://www.trustedcomputinggroup.org/files/static_page_files/72C33D71-1A4B-B294-D02C7DF86630BE7C/TPM%20Main-Part%203%20Commands_v1.2_rev116_01032011.pdf" rel="nofollow">Part 3 - Commands</a></strong>. </p> <p>The <code>TPM_seal</code> command is defined in section 10.1 on page 72. Line 1331 shows you how the command has to look like.</p> <p>Also note that the returnvalue <code>rv</code> does not tell you whether the command was successfully executed on the TPM. It just tells you whether TBS was able to send the command and recieve the response. You have to decode the <code>pabResult</code> buffer.</p> <p>You should also look at my answer to your <a href="http://stackoverflow.com/questions/24145810/sealing-data-using-tpm-in-windows">other question</a>.</p>