summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2015-07-16 16:32:23 -0700
committerAlex Klyubin <klyubin@google.com>2015-07-16 16:52:51 -0700
commita95550f8016bbb0dba086dbd73eec63e6cdbbe98 (patch)
treee6912c5fdb0fc66d6a5fc7fe48d3e8c640270877 /Android.mk
parentf7592b234acde62f0f0a93dad77284f12ca9980a (diff)
downloadframeworks_base-a95550f8016bbb0dba086dbd73eec63e6cdbbe98.zip
frameworks_base-a95550f8016bbb0dba086dbd73eec63e6cdbbe98.tar.gz
frameworks_base-a95550f8016bbb0dba086dbd73eec63e6cdbbe98.tar.bz2
Add KM_MIN_MAC_LENGTH tag to HMAC and AES-GCM keys.
This makes Android Keystore add the KM_MIN_MAC_LENGTH tag to generated and imported HMAC and AES-GCM keys. This tag specifies the minimum length of the MAC/authentication tag authorized to be used for the key. For HMAC keys the minimum MAC length is set to the length of the digest associated with the key (HMAC keys are authorized for exactly one digest). For AES keys the minimum authetication tag length is set to 96 bit. This is the minimum supported by Android Keystore's AES-GCM implementation. Bug: 22337277 Change-Id: Ic6e47cf084734d1592788dc58088889f7fff74eb
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions