cryptfs_hw: Add compatibility for pre-O hw crypto
* Restore compatibility for pre-O way of hw crypto
interaction with qsee as the new way is not
compatible with old blobs.
* Old blobs and current OSS keymaster still use the
old property to check if qseecomd is loaded.
* This conditionally reverts:
cryptfs_hw: Add new APIs for key management
84ac4882d6feeceb24e983a4eaba1d148c2ba3e6
cryptfs_hw: Use HW keymaster for FDE keys
a5d3a02eb13362490222ac2a7eefde6543546e31
cryptfs_hw: Wait for qseecom daemon to start FDE operation
b01c6ec9373bee3e9d71d2300ebce7c287c3d687
Change-Id: I9a5db406c16c3610237a1b85fbfab5c0d63e4960
diff --git a/Android.bp b/Android.bp
index 8aea8b6..3ed44f6 100644
--- a/Android.bp
+++ b/Android.bp
@@ -16,6 +16,14 @@
srcs: sourceFiles,
shared_libs: commonSharedLibraries,
+ product_variables: {
+ bliss: {
+ device_support_legacy_hwfde: {
+ cflags: ["-DLEGACY_HW_DISK_ENCRYPTION"],
+ },
+ },
+ },
+
owner: "qti",
}