commit | 4ff5f8fe34d0a64365e756533917889f3e35be9f | [log] [tgz] |
---|---|---|
author | Shawn Willden <swillden@google.com> | Wed Jul 08 06:04:52 2015 -0600 |
committer | Shawn Willden <swillden@google.com> | Thu Sep 10 11:22:38 2015 -0600 |
tree | beb811a255ea40e8a11c795aca3058ef0e15ddf7 | |
parent | fef6638e82a8b3140f45e7ce410ad72609821142 [diff] |
Add KM_TAG_MIN_MAC_LENGTH. This allows the binding of minimum length for MACs or tags to HMAC keys and AEAD symmetric keys. Later attempts to use these keys with a shorter MAC or tag specification (provided to begin() with KM_TAG_MAC_LENGTH) will fail with KM_ERROR_INVALID_MAC_LENGTH. Bug: 22337277 Change-Id: Ic5292ce01bdd6ecde25aad115e4b407aadc85f23