aboutsummaryrefslogtreecommitdiff
path: root/metadata/metadata.proto
diff options
context:
space:
mode:
authorJoe Richey joerichey@google.com <joerichey@google.com>2017-06-08 10:41:55 -0700
committerJoe Richey joerichey@google.com <joerichey@google.com>2017-06-15 22:32:35 -0700
commitd5f89f8fcc5172be183fb02b802fa23ed3e9f8fa (patch)
tree29e86cf9e027131a6f51f8325783734142ad0aae /metadata/metadata.proto
parent67879f7a69e2040f2266d81ba239324534e24405 (diff)
metadata: change encryption mode names
As new encryption modes are being added to the kernel that use 128 bit keys (see https://patchwork.kernel.org/patch/9741913), we will need the encryption modes to be more descriptive. This change breaks backwards compatibility for the protobuf, but that's fine because we have not released yet. Change-Id: Ifb58d3d5a42db491f1e5393c12f3d260d9a091de
Diffstat (limited to 'metadata/metadata.proto')
-rw-r--r--metadata/metadata.proto8
1 files changed, 4 insertions, 4 deletions
diff --git a/metadata/metadata.proto b/metadata/metadata.proto
index f402fa1..395cdff 100644
--- a/metadata/metadata.proto
+++ b/metadata/metadata.proto
@@ -65,10 +65,10 @@ message EncryptionOptions {
// Type of encryption; should match declarations of unix.FS_ENCRYPTION_MODE
enum Mode {
default = 0;
- XTS = 1;
- GCM = 2;
- CBC = 3;
- CTS = 4;
+ AES_256_XTS = 1;
+ AES_256_GCM = 2;
+ AES_256_CBC = 3;
+ AES_256_CTS = 4;
}
Mode contents = 2;