summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Willden <swillden@google.com>2016-01-26 07:00:27 -0700
committerShawn Willden <swillden@google.com>2016-01-26 07:34:48 -0700
commit71ca0109becc23c7cfe49c57cbcb56e142667771 (patch)
tree73f4db7c7705a3bc529e12b2c9d4ad3dc2dd011b
parent0c5612db385d359a7caef385fd1815aad2de7a46 (diff)
downloadlibhardware-71ca0109becc23c7cfe49c57cbcb56e142667771.tar.gz
Add KM_TAG_ALLOW_WHILE_ON_BODY.
Change-Id: I39ca0eee8be46a6acc65e975aad81d2f2c2aa5b8
-rw-r--r--include/hardware/keymaster_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hardware/keymaster_defs.h b/include/hardware/keymaster_defs.h
index 5b5d2ec7..fd53adfe 100644
--- a/include/hardware/keymaster_defs.h
+++ b/include/hardware/keymaster_defs.h
@@ -109,6 +109,9 @@ typedef enum {
If absent, authentication is required for every
use. Authentication state is lost when the
device is powered off. */
+ KM_TAG_ALLOW_WHILE_ON_BODY = KM_BOOL | 506, /* Allow key to be used after authentication timeout
+ * if device is still on-body (requires secure
+ * on-body sensor. */
/* Application access control */
KM_TAG_ALL_APPLICATIONS = KM_BOOL | 600, /* Specified to indicate key is usable by all