diff options
author | Dinesh K Garg <dineshg@codeaurora.org> | 2014-02-27 13:56:58 -0800 |
---|---|---|
committer | Zhao Wei Liew <zhaoweiliew@gmail.com> | 2017-02-12 20:41:17 +0800 |
commit | cba11e0f9fd333594c463111998a5d466bd39519 (patch) | |
tree | a4388817e6f4a5c751b6b185625349fe14ba6b39 /cryptfs_hw.h | |
parent | a0624c1c576eea574092362885cb4ba41b0ea58d (diff) | |
download | android_vendor_qcom_opensource_cryptfs_hw-cba11e0f9fd333594c463111998a5d466bd39519.tar.gz android_vendor_qcom_opensource_cryptfs_hw-cba11e0f9fd333594c463111998a5d466bd39519.tar.bz2 android_vendor_qcom_opensource_cryptfs_hw-cba11e0f9fd333594c463111998a5d466bd39519.zip |
Wrong function pointer usage
qseecom_create_key which is a function pointer is used after
dereferencing it. Also fixed the issue where userdata may not be
wiped after certain number of attemps.
Change-Id: I4d14366e33c09da64f89000a16b7eef7d981cfda
Diffstat (limited to 'cryptfs_hw.h')
-rw-r--r-- | cryptfs_hw.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cryptfs_hw.h b/cryptfs_hw.h index 7732bff..9d3573b 100644 --- a/cryptfs_hw.h +++ b/cryptfs_hw.h @@ -33,9 +33,9 @@ extern "C" { #endif -int set_hw_device_encryption_key(const char*, const char*); -int update_hw_device_encryption_key(const char*, const char*); -int is_hw_disk_encryption(const char*); +unsigned int set_hw_device_encryption_key(const char*, const char*); +unsigned int update_hw_device_encryption_key(const char*, const char*); +unsigned int is_hw_disk_encryption(const char*); #ifdef __cplusplus } |