OSDN Git Service

Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA
authorShawn Willden <swillden@google.com>
Sat, 7 Feb 2015 00:04:53 +0000 (17:04 -0700)
committerShawn Willden <swillden@google.com>
Mon, 9 Feb 2015 23:02:51 +0000 (16:02 -0700)
Change-Id: Ieddd706ee205100719f7e2f9e18b3d9b07c37669

include/hardware/keymaster_defs.h

index 4649055..4f9de17 100644 (file)
@@ -173,8 +173,8 @@ typedef enum {
     KM_TAG_ROOT_OF_TRUST = KM_BYTES | 704,     /* Root of trust ID.  Empty array means usable by all
                                                   roots. */
 
-    /* Tags used only to provide data to operations */
-    KM_TAG_ADDITIONAL_DATA = KM_BYTES | 1000, /* Used to provide additional data for AEAD modes. */
+    /* 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. */
     KM_TAG_NONCE = KM_BYTES | 1001,           /* Nonce or Initialization Vector */
 } keymaster_tag_t;