2025-05-20 12:50 AM
Hello, I'm testing HMAC authorizations following TPM 2.0 library specification, and I've confirmed all cases works well except the "unbound and unsalted" session case, which uses null buffer as sessionKey with authValue_entity for HMAC calculation.
I’ve double-checked the code logic and found no errors in the HMAC calculation for the authorization area. Yet only the ‘unbound and unsalted’ session—which uses the uninitialized sessionKey (null buffer) and the provided authValue—still causes an error.
Therefore, I wonder whether TPM module blocks unbound and unsalted HMAC sessions.
Is there any documentation related to HMAC authorization? If so, could you send me any relevant documentation?
Best regards,
S Kim