Merge "Add limited use key tag defination." am: 3cd53f9f9d

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1538759

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifc5e42d48094e0ba4e8f46218f4ee25456d072af
This commit is contained in:
Treehugger Robot 2021-01-26 23:27:54 +00:00 committed by Automerger Merge Worker
commit 15ff37860e

View file

@ -95,6 +95,8 @@ typedef enum {
cryptographic operations with the key. */
KM_TAG_MAX_USES_PER_BOOT = KM_UINT | 404, /* Number of times the key can be used per
boot. */
KM_TAG_USAGE_COUNT_LIMIT = KM_UINT | 405, /* Number of cryptographic operations left
with the key.*/
/* User authentication */
KM_TAG_ALL_USERS = KM_BOOL | 500, /* Reserved for future use -- ignore */