OSDN Git Service

fall back to dm-crypt if device already encrypted
authorIliyan Malchev <malchev@google.com>
Fri, 21 Nov 2014 02:42:23 +0000 (18:42 -0800)
committerIliyan Malchev <malchev@google.com>
Fri, 21 Nov 2014 08:19:33 +0000 (08:19 +0000)
commitbb7d9afea9479eabbc98133d3d968225a1e1019e
tree6ae2df145de6786fba0a29bc0a1656eb5a411e87
parent87701e2755f039d6ea8c1510dcddf468ee947a62
fall back to dm-crypt if device already encrypted

Devices already encrypted with aes-cbc-essiv:sha256 will continue to be
decrypted in software, until a factory data reset.  New devices that
implement CONFIG_HW_DISK_ENCRYPTION will switch to aes-xts.

b/17475056 Enable hardware crypto for userdata encryption

Change-Id: I62d1583bdaf7ff06b87e386e758fa3b18c719bca
Signed-off-by: Iliyan Malchev <malchev@google.com>
cryptfs.c