summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'LA.UM.8.1.r1-14300-sm8150.0' of ↵lineage-17.1Michael Bestas2020-03-080-0/+0
|\ | | | | | | | | | | | | | | https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/cryptfs_hw into lineage-17.1 "LA.UM.8.1.r1-14300-sm8150.0" Change-Id: I50d83f74b14cbb3d435713cd3b2db610d7163720
| * Merge fef14665a1d73bc56c94974d1e19af47257a3e0e on remote branchLinux Build Service Account2019-12-091-2/+1
| |\ | | | | | | | | | Change-Id: I6b3fd77504f4b04eec38ebc6b912b74f7d8dc2c1
| | * cryptfs_hw: remove kernel dependency from bpGaurav Kashyap2019-11-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Remove qseecom_kernel_headers from Android.bp as it is not needed anymore. Change-Id: I3f4055fadead1e239663f72b2277bac6fdcef369 Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
* | | cryptfs_hw: Remove dependency on generated kernel headerslineage-17.0Michael Bestas2019-10-221-2/+1
| | | | | | | | | | | | Change-Id: I9d2ac0fb0220d2cddb8f6c33895ee1ee311d476d
* | | Merge tag 'LA.UM.8.1.r1-09500-sm8150.0' of ↵Michael Bestas2019-10-181-8/+0
|\| | | | | | | | | | | | | | | | | | | | | | | https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/cryptfs_hw into lineage-17.0 "LA.UM.8.1.r1-09500-sm8150.0" Change-Id: I1b604721ef5eed2103e390f5bdc967fc58387360
| * | Merge 698b0fc5e6e8842390d46433861e5db838ab2c62 on remote branchLinux Build Service Account2019-09-211-8/+0
| |\| | | | | | | | | | Change-Id: I01c223b1bfcc90b2d9eb4a3de9eab425ecb8e6c1
| | * cryptfs_hw: remove kernel dependencyNeeraj Soni2019-08-291-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | With new hal for vold, kernel specific defines and header files are not needed. Change-Id: Ic4ba42c84131bff3b6750736521a776e1bd404f0 Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
* | | Revert "cryptfs_hw: Mark unused parameter"Michael Bestas2019-10-181-1/+1
| | | | | | | | | | | | | | | | | | This reverts commit 3a01a1705b73d5d84e05ed19e80a16c149fd3a19. Change-Id: If30b6b62d6dda5d6424a65cb43c75fb92cb9917f
* | | cryptfs_hw: Remove libcryptfshw_hidl_headers dependencyPaul Keith2019-09-222-3/+2
| | | | | | | | | | | | | | | Change-Id: If50351002cb10d577729104c83e3a4acaba296ad Signed-off-by: Michael Bestas <mkbestas@lineageos.org>
* | | cryptfs_hw: Mark unused parameterMichael Bestas2019-09-151-1/+1
| | | | | | | | | | | | Change-Id: I6478ad50a1c1f021a3429bb263b9a670925f5423
* | | cryptfs_hw: add missing logging tagsteadfasterX2019-09-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iba69c6feb976cab2e466d30241f899540eff4b51 cryptfs_hw: Properly define log tag * LOG_TAG should be defined before including log.h vendor/qcom/opensource/cryptfs_hw/cryptfs_hw.c:45:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined] ^ system/core/liblog/include/log/log.h:51:9: note: previous definition is here Change-Id: Id6fdf6f1582360514de9140bd42feaa698527557
* | | cryptfs_hw: Choose keymaster version for key signingNeeraj Soni2019-09-152-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | cryptfs_hw: Use generated kernel headersMichael Bestas2019-09-151-1/+1
|/ / | | | | | | Change-Id: Idd29b74c131d37da1b1f6fec63a34f4a63727b97
* | Merge 6b99d61baaee529c181a663a5f205b66c91141ff on remote branchLinux Build Service Account2019-07-214-422/+144
|\| | | | | | | Change-Id: I06a01d7a7284ab32018272ce3cf70a9e22bed0ef
| * cryptfs_hw: implement new hal support for voldNeeraj Soni2019-07-094-407/+144
| | | | | | | | | | | | | | | | | | BUG: b/121350843 vold communication with qseecom tee device should go through hal interface instead of directly using kernel ioctls. Change-Id: I43ea11b1b008e26ca3598697f50375136dd267f5 Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
| * cryptfs_hw: remove block disk encryption dependency on metadata partitionNeeraj Soni2019-06-261-16/+1
|/ | | | | | | | | | | Blocking inline crypto engine based disk encryption if metadata partition is enabled is not required as vold can check if crypto block device was created at first place or not. Also vold should pass the disk encryption key index to crypto driver to leverage all possible key slot usage in crypto engine. Change-Id: I00bea82f734ea50f2b51b0875ee23371de1b9896 Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
* cryptfs_hw: Add a workaround for metadata encryptionShivaprasad Hongal2018-08-301-0/+14
| | | | | | | | | | | | Add a workaround for is_ice_enabled to return 0 if the metadata partition is present to support metadata encryption. This is because HW FDE is a compile time flag and would go on to encrypt the whole disk even for metadata encryption if this does not return 0. Hence, checking for metadata partition. Change-Id: I0b08aaf4fbe5b15acb3e8963e16e75b9ad515d09 Signed-off-by: Shivaprasad Hongal <shongal@codeaurora.org>
* cryptfs: Allow vold to set encryption infoAnilKumar Chimata2018-06-202-0/+28
| | | | | | | Vold needs to set partition and ICE specific data before encryption starts. Change-Id: Ie721f35d7f5cbb486d1d3895e42f992fe4bc51bf
* cryptfs_hw: Update Android make fileAnilKumar Chimata2018-06-053-41/+28
| | | | | | Move Android.mk to Androi.bp file as per new changes. Change-Id: I9b4422f736ee51f264eac5b84297c66d76f4f243
* cryptfs_hw: Update listener status flagAnilKumar Chimata2018-06-041-1/+1
| | | | | | | Update listeners load status flag name as per new requirement. Change-Id: Ifcd402e3fb31e184356f8e4ca21f00093b58eafd
* Relocation of cryptfs_hw module from device/qcom/commonDavid Ng2018-05-244-0/+497
| | | | | | | | | Project restructuring for single system image. Relocation of some files from device/qcom/common at b5ce80cb1f60759a142a9338104d3adf3303ec0c. Change-Id: Iae4304c09859918c130c6798cd3e59a3728e2ea5
* Initial commitLinux Build Service Account2018-05-220-0/+0