1
Unfortunately, the current AOSP get better at branch will not include the actual code that creates these tokens, but there is a base class which shows how a typical gatekeeper might be carried out: it computes an HMAC over the all fields of the hw_auth_token_t structure up to hmac utilizing a.