Re: [PATCH v8 14/22] tpm: Add HMAC session start and end functions

Jarkko Sakkinen
2024-04-30T16:49:15Z

On Mon Apr 29, 2024 at 11:28 PM EEST, James Bottomley wrote:
> + rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_START_AUTH_SESS);
> + if (rc)
> + goto out;

Have missed this one. The command code name is truncated, which we have
not done. It should be TPM2_CC_START_AUTH_SESSION.

Spotted this while thinking how to test the interposer scenario.

BR, Jarkko