mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Challenge is expected in timestamp token in case 2"
This commit is contained in:
@@ -126,8 +126,8 @@ interface IKeyMintOperation {
|
|||||||
*
|
*
|
||||||
* o The HMAC field must validate correctly.
|
* o The HMAC field must validate correctly.
|
||||||
*
|
*
|
||||||
* o The challenge field in the auth token must contain the challenge value contained in the
|
* o The challenge field in the timestamp token must contain the challenge value contained in
|
||||||
* BeginResult returned from IKeyMintDevice::begin().
|
* the BeginResult returned from IKeyMintDevice::begin().
|
||||||
*
|
*
|
||||||
* The resulting secure time value is then used to authenticate the HardwareAuthToken. For the
|
* The resulting secure time value is then used to authenticate the HardwareAuthToken. For the
|
||||||
* auth token to be valid, all of the following has to be true:
|
* auth token to be valid, all of the following has to be true:
|
||||||
@@ -139,9 +139,6 @@ interface IKeyMintOperation {
|
|||||||
*
|
*
|
||||||
* o The key must have a Tag::USER_AUTH_TYPE that matches the auth type in the token.
|
* o The key must have a Tag::USER_AUTH_TYPE that matches the auth type in the token.
|
||||||
*
|
*
|
||||||
* o The challenge field in the auth token must contain the challenge value contained in the
|
|
||||||
* BeginResult returned from IKeyMintDevice::begin().
|
|
||||||
*
|
|
||||||
* o The timestamp in the auth token plus the value of the Tag::AUTH_TIMEOUT must be greater
|
* o The timestamp in the auth token plus the value of the Tag::AUTH_TIMEOUT must be greater
|
||||||
* than the provided secure timestamp.
|
* than the provided secure timestamp.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user