diff options
author | Haris Andrianakis <candrian@google.com> | 2018-06-07 16:18:57 -0700 |
---|---|---|
committer | Tink Team <noreply@google.com> | 2018-06-08 14:49:34 -0700 |
commit | d575b42d94c69b3858bcb8eaa1c1482b23df51eb (patch) | |
tree | 78b2ba455568f8b9edb462d9f772ad824c7895fb /cc/mac/mac_key_templates.cc | |
parent | 80647a0bfe337c74cbabc4b64b2e40061cf2b953 (diff) | |
download | tink-d575b42d94c69b3858bcb8eaa1c1482b23df51eb.tar.gz |
objc: Implement MacKeyTemplate.
PiperOrigin-RevId: 199714804
GitOrigin-RevId: da360437a835c0d3690926af6e480c8b3ce42443
Diffstat (limited to 'cc/mac/mac_key_templates.cc')
-rw-r--r-- | cc/mac/mac_key_templates.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/mac/mac_key_templates.cc b/cc/mac/mac_key_templates.cc index eca5fe80e..457c3dcb0 100644 --- a/cc/mac/mac_key_templates.cc +++ b/cc/mac/mac_key_templates.cc @@ -48,7 +48,7 @@ KeyTemplate* NewHmacKeyTemplate(int key_size_in_bytes, } // anonymous namespace // static -const KeyTemplate& MacKeyTemplates::Hmac128BittagSha256() { +const KeyTemplate& MacKeyTemplates::HmacSha256HalfSizeTag() { static const KeyTemplate* key_template = NewHmacKeyTemplate(/* key_size_in_bytes= */ 32, /* tag_size_in_bytes= */ 16, @@ -57,7 +57,7 @@ const KeyTemplate& MacKeyTemplates::Hmac128BittagSha256() { } // static -const KeyTemplate& MacKeyTemplates::Hmac256BittagSha256() { +const KeyTemplate& MacKeyTemplates::HmacSha256() { static const KeyTemplate* key_template = NewHmacKeyTemplate(/* key_size_in_bytes= */ 32, /* tag_size_in_bytes= */ 32, |