From de4d82fc16c848733df1f35c5969a771f06a888b Mon Sep 17 00:00:00 2001 From: Selene Huang Date: Thu, 13 Feb 2020 13:11:20 -0800 Subject: [PATCH] Added identity credential key to keymaster tag set. Bug: 149908474 Test: atest android.security.identity.cts.AttestationTest Test: atest VtsHalIdentityCredentialTarge Merged-In: I5a0336692f894580a46d6e70a5b2e2b6d54508e5 Change-Id: I4c1cf2cc5112ccae2151958c65025d9e225bdeed --- include/hardware/keymaster_defs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/hardware/keymaster_defs.h b/include/hardware/keymaster_defs.h index 0b7bf8a4..2fbfe46d 100644 --- a/include/hardware/keymaster_defs.h +++ b/include/hardware/keymaster_defs.h @@ -164,6 +164,8 @@ typedef enum { included in attestation */ KM_TAG_DEVICE_UNIQUE_ATTESTATION = KM_BOOL | 720, /* Indicates StrongBox device-unique attestation is requested. */ + KM_TAG_IDENTITY_CREDENTIAL_KEY = KM_BOOL | 721, /* This is an identity credential key */ + /* Tags used only to provide data to or receive data from operations */ KM_TAG_ASSOCIATED_DATA = KM_BYTES | 1000, /* Used to provide associated data for AEAD modes. */