commit | 33ab0389e908b98702806c746e7babc0d46eb452 | [log] [tgz] |
---|---|---|
author | Shawn Willden <swillden@google.com> | Wed Jul 08 08:47:25 2015 -0600 |
committer | Shawn Willden <swillden@google.com> | Thu Jul 16 11:45:00 2015 -0600 |
tree | e45b4d16c9f9c23a459a21cb75f0e39445f32d72 | |
parent | 7d05d88dc44b18e0350f7fe8d28c20f2f643bb80 [diff] |
Add support for KM_TAG_MIN_MAC_LENGTH. HMAC and AES-GCM keys must be bound to a mininum MAC/tag length at creation, and operations may not specify a length smaller than the minimum, or provide a length smaller than the minimum during verification. Bug: 22337277 Change-Id: Id5ae2f4259045ba1418c28e9de8f4a47e67fd433