[PATCH v3 09/11] tpm: Add TPM2 support for read/write values