summaryrefslogtreecommitdiffstats
path: root/crypto/ext4crypt/KeyUtil.h
diff options
context:
space:
mode:
authorPeter Cai <peter@typeblog.net>2019-05-23 10:32:22 +0200
committerbig biff <bigbiff@teamw.in>2019-09-01 19:33:30 +0200
commit90edd2e867b238e71ee198e3460e289cd7dee54c (patch)
tree3febcf7620a3ee3bb2043d91c981f9e7a1b635ff /crypto/ext4crypt/KeyUtil.h
parentMerge "fix build error in 9.0 with TW_NO_EXFAT_FUSE:=true" into android-9.0 (diff)
downloadandroid_bootable_recovery-90edd2e867b238e71ee198e3460e289cd7dee54c.tar
android_bootable_recovery-90edd2e867b238e71ee198e3460e289cd7dee54c.tar.gz
android_bootable_recovery-90edd2e867b238e71ee198e3460e289cd7dee54c.tar.bz2
android_bootable_recovery-90edd2e867b238e71ee198e3460e289cd7dee54c.tar.lz
android_bootable_recovery-90edd2e867b238e71ee198e3460e289cd7dee54c.tar.xz
android_bootable_recovery-90edd2e867b238e71ee198e3460e289cd7dee54c.tar.zst
android_bootable_recovery-90edd2e867b238e71ee198e3460e289cd7dee54c.zip
Diffstat (limited to 'crypto/ext4crypt/KeyUtil.h')
-rw-r--r--crypto/ext4crypt/KeyUtil.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/ext4crypt/KeyUtil.h b/crypto/ext4crypt/KeyUtil.h
index d5ad69fdb..46a312463 100644
--- a/crypto/ext4crypt/KeyUtil.h
+++ b/crypto/ext4crypt/KeyUtil.h
@@ -19,6 +19,7 @@
#include "KeyBuffer.h"
#include "KeyStorage4.h"
+#include "Keymaster4.h"
#include <string>
#include <memory>
@@ -31,7 +32,7 @@ bool installKey(const KeyBuffer& key, std::string* raw_ref);
bool evictKey(const std::string& raw_ref);
bool retrieveAndInstallKey(bool create_if_absent, const KeyAuthentication& key_authentication,
const std::string& key_path, const std::string& tmp_path,
- std::string* key_ref);
+ std::string* key_ref, bool wrapped_key_supported);
bool retrieveKey(bool create_if_absent, const std::string& key_path,
const std::string& tmp_path, KeyBuffer* key);