summaryrefslogtreecommitdiffstats
path: root/include/hardware/keymaster_defs.h
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2015-02-20 16:42:23 -0800
committerAlex Klyubin <klyubin@google.com>2015-02-20 16:42:23 -0800
commit340d0b12c5446f1d8c38209780fb00c205289d37 (patch)
treebc5ba9902c750d798a632287254760e7fea40bc4 /include/hardware/keymaster_defs.h
parent0e5fca1ca4777f5f5d5fa8bd0de139e42077881b (diff)
downloadhardware_libhardware-340d0b12c5446f1d8c38209780fb00c205289d37.zip
hardware_libhardware-340d0b12c5446f1d8c38209780fb00c205289d37.tar.gz
hardware_libhardware-340d0b12c5446f1d8c38209780fb00c205289d37.tar.bz2
Clarify the meaning of KM_TAG_MAC_LENGTH.
Change-Id: I18478923059783e955613142a8d3352f98f5d7b0
Diffstat (limited to 'include/hardware/keymaster_defs.h')
-rw-r--r--include/hardware/keymaster_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hardware/keymaster_defs.h b/include/hardware/keymaster_defs.h
index 9c6ad9d..f8e90b6 100644
--- a/include/hardware/keymaster_defs.h
+++ b/include/hardware/keymaster_defs.h
@@ -107,7 +107,7 @@ typedef enum {
KM_TAG_KEY_SIZE = KM_INT | 3, /* Key size in bits. */
KM_TAG_BLOCK_MODE = KM_ENUM | 4, /* keymaster_block_mode_t. */
KM_TAG_DIGEST = KM_ENUM | 5, /* keymaster_digest_t. */
- KM_TAG_MAC_LENGTH = KM_INT | 6, /* MAC length in bits. */
+ KM_TAG_MAC_LENGTH = KM_INT | 6, /* MAC or AEAD authentication tag length in bits. */
KM_TAG_PADDING = KM_ENUM | 7, /* keymaster_padding_t. */
KM_TAG_RETURN_UNAUTHED = KM_BOOL | 8, /* Allow AEAD decryption to return plaintext before it has
been authenticated. WARNING: Not recommended. */