summaryrefslogtreecommitdiffstats
path: root/crypto/ext4crypt/Keymaster4.h
diff options
context:
space:
mode:
authorPeter Cai <peter@typeblog.net>2019-05-25 15:12:29 +0200
committerbig biff <bigbiff@teamw.in>2019-09-01 19:34:09 +0200
commit05cd3f86167e7a55fbcf9727ce07297fad59b12d (patch)
tree616eec72cb914c039653ccfc1741ec1c5c9bf339 /crypto/ext4crypt/Keymaster4.h
parentext4crypt: support wrappedkey for FBE (diff)
downloadandroid_bootable_recovery-05cd3f86167e7a55fbcf9727ce07297fad59b12d.tar
android_bootable_recovery-05cd3f86167e7a55fbcf9727ce07297fad59b12d.tar.gz
android_bootable_recovery-05cd3f86167e7a55fbcf9727ce07297fad59b12d.tar.bz2
android_bootable_recovery-05cd3f86167e7a55fbcf9727ce07297fad59b12d.tar.lz
android_bootable_recovery-05cd3f86167e7a55fbcf9727ce07297fad59b12d.tar.xz
android_bootable_recovery-05cd3f86167e7a55fbcf9727ce07297fad59b12d.tar.zst
android_bootable_recovery-05cd3f86167e7a55fbcf9727ce07297fad59b12d.zip
Diffstat (limited to '')
-rw-r--r--crypto/ext4crypt/Keymaster4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ext4crypt/Keymaster4.h b/crypto/ext4crypt/Keymaster4.h
index 14c230bfd..704cc2c70 100644
--- a/crypto/ext4crypt/Keymaster4.h
+++ b/crypto/ext4crypt/Keymaster4.h
@@ -103,7 +103,7 @@ class Keymaster {
// Generate a key in the keymaster from the given params.
bool generateKey(const km::AuthorizationSet& inParams, std::string* key);
// Export a key from keymaster.
- bool exportKey(km::KeyFormat format, KeyBuffer& kmKey, const std::string& clientId,
+ km::ErrorCode exportKey(km::KeyFormat format, KeyBuffer& kmKey, const std::string& clientId,
const std::string& appData, std::string* key);
// If the keymaster supports it, permanently delete a key.
bool deleteKey(const std::string& key);