I was looking for a method to securely store values into a trusted execution environment and I found this library from Microsoft called Tpm2Lib. I\'m using the code below th