cryptfs_hw: Update module as per vold project
Update cryptfs_hw API signatures as per the vold project requests to avoid compilation errors. Change-Id: I1c2133f3cee395892e7fa160afc6314059ba0bcb
This commit is contained in:
parent
662bd317c2
commit
33e4dcc1d4
|
@ -221,12 +221,9 @@ int is_ice_enabled(void)
|
|||
return storage_type;
|
||||
}
|
||||
|
||||
int wipe_hw_device_encryption_key(const char* enc_mode)
|
||||
int clear_hw_device_encryption_key()
|
||||
{
|
||||
if (!enc_mode)
|
||||
return -1;
|
||||
|
||||
if (is_hw_disk_encryption(enc_mode) && load_qseecom_library())
|
||||
if (load_qseecom_library())
|
||||
return qseecom_wipe_key(map_usage(QSEECOM_DISK_ENCRYPTION));
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -35,7 +35,7 @@ extern "C" {
|
|||
|
||||
int set_hw_device_encryption_key(const char*, const char*);
|
||||
int update_hw_device_encryption_key(const char*, const char*, const char*);
|
||||
int wipe_hw_device_encryption_key(const char*);
|
||||
int clear_hw_device_encryption_key();
|
||||
unsigned int is_hw_disk_encryption(const char*);
|
||||
int is_ice_enabled(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue