Messages in this thread | | | Date | Wed, 15 May 2024 01:52:45 +0300 | Subject | Re: [RFC PATCH 1/2] tpm: add some algorithm and constant definitions from the TPM spec | From | "Jarkko Sakkinen" <> |
| |
On Wed May 15, 2024 at 1:51 AM EEST, Jarkko Sakkinen wrote: > > @@ -227,6 +229,7 @@ enum tpm2_command_codes { > > TPM2_CC_CREATE = 0x0153, > > TPM2_CC_LOAD = 0x0157, > > TPM2_CC_SEQUENCE_UPDATE = 0x015C, > > + TPM2_CC_SIGN = 0x015D, > > TPM2_CC_UNSEAL = 0x015E, > > TPM2_CC_CONTEXT_LOAD = 0x0161, > > TPM2_CC_CONTEXT_SAVE = 0x0162, > > Ditto. > > > @@ -234,6 +237,7 @@ enum tpm2_command_codes { > > TPM2_CC_VERIFY_SIGNATURE = 0x0177, > > TPM2_CC_GET_CAPABILITY = 0x017A, > > TPM2_CC_GET_RANDOM = 0x017B, > > + TPM2_CC_HASH = 0x017D, > > TPM2_CC_PCR_READ = 0x017E, > > TPM2_CC_PCR_EXTEND = 0x0182, > > TPM2_CC_EVENT_SEQUENCE_COMPLETE = 0x0185, > > > Ditto.
These can be in the same patch but both need a rationale.
BR, Jarkko
| |