commit | 5500d7788c160a8d4aee1673616e20efed6bed68 | [log] [tgz] |
---|---|---|
author | Shawn Willden <swillden@google.com> | Wed Jul 08 08:47:25 2015 -0600 |
committer | Shawn Willden <swillden@google.com> | Thu Sep 10 11:47:47 2015 -0600 |
tree | 7f5ce9ec246cc6d5793645d7c4586147e7c23e88 | |
parent | b9b189be5ad57dbd430554ccde993fb4c607080d [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