Home
last modified time | relevance | path

Searched refs:enc_mode (Results 1 – 1 of 1) sorted by relevance

/device/moto/shamu/cryptfs_hw/
Dcryptfs_hw.c111 static unsigned int set_key(const char* passwd, const char* enc_mode, int operation) in set_key() argument
115 if (is_hw_disk_encryption(enc_mode) && load_qseecom_library()) { in set_key()
138 unsigned int set_hw_device_encryption_key(const char* passwd, const char* enc_mode) in set_hw_device_encryption_key() argument
141 return set_key(passwd, enc_mode, SET_HW_DISK_ENC_KEY); in set_hw_device_encryption_key()
144 unsigned int update_hw_device_encryption_key(const char* newpw, const char* enc_mode) in update_hw_device_encryption_key() argument
147 return set_key(newpw, enc_mode, UPDATE_HW_DISK_ENC_KEY); in update_hw_device_encryption_key()