diff options
author | Dinesh K Garg <dineshg@codeaurora.org> | 2015-09-02 13:45:15 -0700 |
---|---|---|
committer | Zhao Wei Liew <zhaoweiliew@gmail.com> | 2017-02-12 20:45:26 +0800 |
commit | 55fd88fafa074b54a1c455f3692a0853662d87b2 (patch) | |
tree | e6b1259e4652435f5f1594e70ace51eda65cc726 /cryptfs_hw.h | |
parent | 7223712c2a10e8b55e61231bca34ea00b6732eaf (diff) | |
download | android_vendor_qcom_opensource_cryptfs_hw-55fd88fafa074b54a1c455f3692a0853662d87b2.tar.gz android_vendor_qcom_opensource_cryptfs_hw-55fd88fafa074b54a1c455f3692a0853662d87b2.tar.bz2 android_vendor_qcom_opensource_cryptfs_hw-55fd88fafa074b54a1c455f3692a0853662d87b2.zip |
cryptfs_hw: Tie HW FDE keys with keymaster
HW FDE keys would be tied to keymaster so that if someone changes
Root of Trust (ROT), encrypted data can't be used. Cryptfs_hw module
is exposing a new API so that caller can determine whether to create
dependency between HW FDE keys and keymaster.
Change-Id: I85c85ffd9086f6c060032e4ae701b10363d88529
Diffstat (limited to 'cryptfs_hw.h')
-rwxr-xr-x | cryptfs_hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cryptfs_hw.h b/cryptfs_hw.h index c840d02..e857c47 100755 --- a/cryptfs_hw.h +++ b/cryptfs_hw.h @@ -38,6 +38,7 @@ int update_hw_device_encryption_key(const char*, const char*, const char*); int clear_hw_device_encryption_key(); unsigned int is_hw_disk_encryption(const char*); int is_ice_enabled(void); +int should_use_keymaster(); #ifdef __cplusplus } |