Sorry for the spam but this topic has been discussed at the plumbers TPM microconf and so I thought the wider audience might find this interesting / relevant: The OSS implementation of of the TCG TSS2 core libraries / APIs is working its way toward a version 2.0 release and we're a few days away from starting a pull request & review that will add the "Enhanced System API". This new API adds additional features like automating the application side of the hash and encryption operations for HMAC and encrypted sessions. If you're interested the spec is available here: https://trustedcomputinggroup.org/wp-content/uploads/TSS_ESAPI_Version-0.9_Revision-04_reviewEND030918.pdf Given the size of this generous code contribution (our thanks to Fraunhofer SIT and Infineon), this PR will be under review for several days. During this time lower priority PRs will be delayed and we may build up a bit of a queue. Regards, Philip