summaryrefslogtreecommitdiff
path: root/KeyUtil.h
diff options
context:
space:
mode:
authorPaul Crowley <paulcrowley@google.com>2017-06-19 16:05:55 -0700
committerPaul Crowley <paulcrowley@google.com>2017-06-20 10:10:08 -0700
commitcd8bfe3d7f0186192d27a49593fd7b97c8a3213d (patch)
treeca388fb358a9e5d101f0d2dc96c1c43f44e4e8cc /KeyUtil.h
parentce02449264bad23c851c87ae305b95eabfc9c37e (diff)
downloadvold-cd8bfe3d7f0186192d27a49593fd7b97c8a3213d.tar.gz
Label keys with all the possible FBE prefixes that might apply
We don't know which FS and kernel version is going to want these keys, so put them in the kernel three times with all three possible prefixes. Test: Marlin set up before this change successfully boots after it. Change-Id: I6ccfe0894551ba068de9bf5e23fe4fd1e10e36b1
Diffstat (limited to 'KeyUtil.h')
-rw-r--r--KeyUtil.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/KeyUtil.h b/KeyUtil.h
index f8fb634b..d4c97b93 100644
--- a/KeyUtil.h
+++ b/KeyUtil.h
@@ -36,7 +36,6 @@ struct ext4_encryption_key {
uint32_t size;
};
-std::string keyname(const std::string& raw_ref);
bool randomKey(std::string* key);
bool installKey(const std::string& key, std::string* raw_ref);
bool evictKey(const std::string& raw_ref);