aboutsummaryrefslogtreecommitdiff
path: root/metadata/metadata.proto
diff options
context:
space:
mode:
authorJoe Richey <joerichey@google.com>2022-08-26 23:40:44 -0700
committerEric Biggers <ebiggers3@gmail.com>2022-12-04 14:36:56 -0800
commit7ae302aa0dba1d1ea4bbeffae1917792722460c8 (patch)
tree004506ed6c20f1deee7aac1c11aa1c9a5c1a73ee /metadata/metadata.proto
parent30c4e497c609f0244cc9f98bc004c13a324c9f54 (diff)
Add truncation_fixed field to HashingCosts
This allows us to fix the bug where Parallelism is inadvertantly truncated to 8 bits in a backwards compatible way. Signed-off-by: Joe Richey <joerichey@google.com>
Diffstat (limited to 'metadata/metadata.proto')
-rw-r--r--metadata/metadata.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/metadata/metadata.proto b/metadata/metadata.proto
index 88d1931..f2dd78f 100644
--- a/metadata/metadata.proto
+++ b/metadata/metadata.proto
@@ -31,6 +31,8 @@ message HashingCosts {
int64 time = 2;
int64 memory = 3;
int64 parallelism = 4;
+ // If true, parallelism should no longer be truncated to 8 bits.
+ bool truncation_fixed = 5;
}
// This structure is used for our authenticated wrapping/unwrapping of keys.