summaryrefslogtreecommitdiffstats
path: root/crypto/ext4crypt/Utils.h
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2018-08-30 22:16:27 +0200
committerEthan Yonker <dees_troy@teamw.in>2018-08-31 17:37:08 +0200
commite9afc3de0fe1df795cc2f8cfab489177252812be (patch)
tree867698dc2670b97f821726b71043a232ad54c6ce /crypto/ext4crypt/Utils.h
parentMerge AOSP android-9.0.0_r3 (diff)
downloadandroid_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.tar
android_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.tar.gz
android_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.tar.bz2
android_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.tar.lz
android_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.tar.xz
android_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.tar.zst
android_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.zip
Diffstat (limited to '')
-rw-r--r--crypto/ext4crypt/Utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/ext4crypt/Utils.h b/crypto/ext4crypt/Utils.h
index aede20341..253541cf5 100644
--- a/crypto/ext4crypt/Utils.h
+++ b/crypto/ext4crypt/Utils.h
@@ -47,6 +47,7 @@ status_t ForkExecvp(const std::vector<std::string>& args,
pid_t ForkExecvpAsync(const std::vector<std::string>& args);
status_t ReadRandomBytes(size_t bytes, std::string& out);
+status_t ReadRandomBytes(size_t bytes, char* buffer);
/* Converts hex string to raw bytes, ignoring [ :-] */
status_t HexToStr(const std::string& hex, std::string& str);
@@ -61,6 +62,8 @@ std::string BuildDataMiscCePath(userid_t userid);
std::string BuildDataMiscDePath(userid_t userid);
std::string BuildDataProfilesDePath(userid_t userid);
std::string BuildDataProfilesForeignDexDePath(userid_t userid);
+std::string BuildDataVendorCePath(userid_t userid);
+std::string BuildDataVendorDePath(userid_t userid);
std::string BuildDataPath(const char* volumeUuid);
std::string BuildDataMediaCePath(const char* volumeUuid, userid_t userid);