Ok, thank you very much!
Since I am new to TPM, maybe I am wrong in my thinking. I'm sorry about that. I just want to know if TPM can encrypt and decrypt the data using the symmetric key I provided. If the TPM can, what commands do I need to run? Maybe this description will be a little clearer. Thank you!
Thanks a lot! Exactly,the data that the two TPMs wish to exchange is what two platfroms with TPM want to exchange. Therefore, I need use a same symmetric key in the two TPMs. And the TPM looks more like a crypto accelerator. I think the TPM2_LoadExternal is what I need. Could you give me more information on how to use this command?
Is there a way to make two different TPMs generate the same symmetric key for encrypting and decrypting the data they want to exchange with each other?