diff options
author | Jaegeuk Kim <jaegeuk@google.com> | 2020-12-15 09:02:29 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@google.com> | 2022-06-07 18:43:54 -0700 |
commit | f6151b434ce259d79496242635654856797bc4c1 (patch) | |
tree | e265f81113578e0413e573acd22012b8c75bfe0e /MetadataCrypt.h | |
parent | 3712b8de010853b68673b34de24eb6a7fe697983 (diff) | |
download | vold-f6151b434ce259d79496242635654856797bc4c1.tar.gz |
Support zoned device with dm-default-key
Note that, encrypt_inplace cannot support zoned device, since it
doesn't support in-place updates. And, dm-default-key will have
a different key.
Bug: 172378121
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I34cb1e747e0f3faa07c5a4bfeded11fb789a033c
Diffstat (limited to 'MetadataCrypt.h')
-rw-r--r-- | MetadataCrypt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MetadataCrypt.h b/MetadataCrypt.h index 06131add..f6d6b8ec 100644 --- a/MetadataCrypt.h +++ b/MetadataCrypt.h @@ -28,7 +28,8 @@ namespace vold { void defaultkey_precreate_dm_device(); bool fscrypt_mount_metadata_encrypted(const std::string& block_device, const std::string& mount_point, bool needs_encrypt, - bool should_format, const std::string& fs_type); + bool should_format, const std::string& fs_type, + const std::string& zoned_device); bool defaultkey_volume_keygen(KeyGeneration* gen); |