From d5f89f8fcc5172be183fb02b802fa23ed3e9f8fa Mon Sep 17 00:00:00 2001 From: "Joe Richey joerichey@google.com" Date: Thu, 8 Jun 2017 10:41:55 -0700 Subject: 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 --- metadata/constants.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'metadata/constants.go') diff --git a/metadata/constants.go b/metadata/constants.go index 6e4a08d..344f955 100644 --- a/metadata/constants.go +++ b/metadata/constants.go @@ -43,8 +43,8 @@ var ( // DefaultOptions use the supported encryption modes and max padding. DefaultOptions = &EncryptionOptions{ Padding: 32, - Contents: EncryptionOptions_XTS, - Filenames: EncryptionOptions_CTS, + Contents: EncryptionOptions_AES_256_XTS, + Filenames: EncryptionOptions_AES_256_CTS, } // DefaultSource is the source we use if none is specified. DefaultSource = SourceType_custom_passphrase -- cgit v1.2.3