summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDinesh K Garg <dineshg@codeaurora.org>2014-10-08 17:43:05 -0700
committerZhao Wei Liew <zhaoweiliew@gmail.com>2017-02-12 20:43:13 +0800
commit2fc15a02e5d1c7ea4f8cc55818e49858e5ca8fc4 (patch)
treef7301bbd116ce1ace527fafb945103bd3171ca4b /Android.mk
parentd48e2a056cfaf5e8d7e891a682cec8f562732aad (diff)
downloadandroid_vendor_qcom_opensource_cryptfs_hw-2fc15a02e5d1c7ea4f8cc55818e49858e5ca8fc4.tar.gz
android_vendor_qcom_opensource_cryptfs_hw-2fc15a02e5d1c7ea4f8cc55818e49858e5ca8fc4.tar.bz2
android_vendor_qcom_opensource_cryptfs_hw-2fc15a02e5d1c7ea4f8cc55818e49858e5ca8fc4.zip
Adding support of Inline Crypto Engine (ICE)
ICE requires keys to be set in key LUT. Changing APIs so that it return the key index in key LUT. It also needs to take care if ICE is available on the chip. Change-Id: I22be18738ba33e5b5c61639c24b320484d0ad7f2
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 996947b..8e59637 100644
--- a/Android.mk
+++ b/Android.mk
@@ -19,5 +19,11 @@ LOCAL_SHARED_LIBRARIES := $(commonSharedLibraries)
LOCAL_MODULE_OWNER := qcom
+# USE_ICE_FOR_STORAGE_ENCRYPTION would be true in future if
+# TARGET_USE_EMMC_USE_ICE is set
+ifeq ($(TARGET_USE_UFS_ICE),true)
+LOCAL_CFLAGS += -DUSE_ICE_FOR_STORAGE_ENCRYPTION
+endif
+
include $(BUILD_SHARED_LIBRARY)
endif