diff options
Diffstat (limited to 'cc/mac/mac_key.h')
-rw-r--r-- | cc/mac/mac_key.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cc/mac/mac_key.h b/cc/mac/mac_key.h index d02933cf6..65f8ddb50 100644 --- a/cc/mac/mac_key.h +++ b/cc/mac/mac_key.h @@ -35,11 +35,8 @@ class MacKey : public Key { // have an associated tag output prefix. When verifying a tag, only keys with // a matching prefix have to be tried. // - // Note that a priori, the output prefix may not be unique in a keyset - // (i.e., different keys in a keyset may have the same prefix or one prefix - // may be a prefix of another). To avoid this, built-in Tink keys use the - // convention that the prefix is either '0x00<big endian key id>' or - // '0x01<big endian key id>'. + // See https://developers.google.com/tink/wire-format#tink_output_prefix for + // more background information on Tink output prefixes. virtual absl::string_view GetOutputPrefix() const = 0; const MacParameters& GetParameters() const override = 0; |