summaryrefslogtreecommitdiffstats
path: root/cryptfs_hw.h
diff options
context:
space:
mode:
authorNeeraj Soni <neersoni@codeaurora.org>2018-05-22 21:06:36 +0530
committerMichael Bestas <mkbestas@lineageos.org>2019-09-15 20:57:41 +0300
commit3e981dfe842f7725daad3ce8115358516a133bca (patch)
treec00fc2a6381d5a74d3bd84094ea7c9d68f00a91d /cryptfs_hw.h
parentcfbaa72407524013128f583e110a799b8642e206 (diff)
downloadandroid_vendor_qcom_opensource_cryptfs_hw-3e981dfe842f7725daad3ce8115358516a133bca.tar.gz
android_vendor_qcom_opensource_cryptfs_hw-3e981dfe842f7725daad3ce8115358516a133bca.tar.bz2
android_vendor_qcom_opensource_cryptfs_hw-3e981dfe842f7725daad3ce8115358516a133bca.zip
cryptfs_hw: Choose keymaster version for key signing
Keymaster key signing support is available from version 1.0 and above. Thus, version 0.3 is excluded on supported targets. [mikeioannina]: Adapt for Q Change-Id: I0cd6455bc5d2459231cb56baf68e57073fe60d69
Diffstat (limited to 'cryptfs_hw.h')
-rw-r--r--cryptfs_hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptfs_hw.h b/cryptfs_hw.h
index d7ed51e..65321eb 100644
--- a/cryptfs_hw.h
+++ b/cryptfs_hw.h
@@ -43,7 +43,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);
-inline int should_use_keymaster(){return 1;}
+int should_use_keymaster();
int set_ice_param(int flag);
#ifdef __cplusplus