summaryrefslogtreecommitdiffstats
path: root/cryptfs_hw.h
Commit message (Collapse)AuthorAgeFilesLines
* cryptfs_hw: Add support for is_hw_fde_enabled routinereplicant-6.0-0001AnilKumar Chimata2017-02-261-0/+1
| | | | | | | | Add support for is_hw_fde_enabled routine to get the fde status based on the chipset. Change-Id: I7e0e078da6668e347a78de487da44ddc331bd478 (cherry picked from commit 144e832ff3e16af20d3975aeec4a64bf8f80a8a3)
* cryptfs_hw: Tie HW FDE keys with keymasterDinesh K Garg2017-02-121-0/+1
| | | | | | | | | 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
* cryptfs_hw: Update module as per vold projectDinesh K Garg2017-02-121-1/+1
| | | | | | | Update cryptfs_hw API signatures as per the vold project requests to avoid compilation errors. Change-Id: I1c2133f3cee395892e7fa160afc6314059ba0bcb
* cryptfs_hw: Update APIs to take old passwordAnilKumar Chimata2017-02-121-1/+1
| | | | | | | Update cryptfs_hw APIs to take old password along with the new passowrd. Change-Id: Ieca5c4bac36ba4bb2371d2f3bbe0cadf79e256d7
* cryptfs_hw: Add support for wipe_key routineAnilKumar Chimata2017-02-121-0/+1
| | | | | | Add support for wipe_key routine to clean key. Change-Id: I9e258e1506d0634c4fc5b5142475005f6eb51c4e
* Adding support of Inline Crypto Engine (ICE)Dinesh K Garg2017-02-121-2/+3
| | | | | | | | 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
* Wrong function pointer usageDinesh K Garg2017-02-121-3/+3
| | | | | | | | qseecom_create_key which is a function pointer is used after dereferencing it. Also fixed the issue where userdata may not be wiped after certain number of attemps. Change-Id: I4d14366e33c09da64f89000a16b7eef7d981cfda
* vold: HW based device encryptionDinesh K Garg2017-02-121-0/+43
SW based device encryption uses SW crypto engine. This module provides the support for VOLD to utilize HW crypto engine. HW based crypto engine is more efficient both in terms of power and throughput. Change-Id: I34107a0ce50d9fc5c80c15ace0678a0bba7adee5