Your reply may have revealed your true question. Such as how to encrypt. Using the TPM would be a strange idea since what you encrypt there should not be usable on your other machines. How to decrypt stuff with a TPM.
-> I'm going to advise you forget TPM and investigate other encryptions. If you post an unclear question, that is, the question that lead to this question, then you have folk guessing what lead you to this idea. The TPM ON ANDROID (most mobile platforms) should show you that's a dead zone. If you insist, sure, but you will be very much on an one person raft far out at sea without support.