No description
Find a file
Ajay Dudani 87701e2755 Adding support of dm-req-crypt
Currently Android provides disk encryption support using dm-crypt
which is based on bios. dm-crypt uses 512 bytes packet size for
crypto operations. While 512 bytes size packet is ok for SW based
disk encryption, it is inefficient for HW based crypto engines.
dm-req-crypt is similar to dm-crypt except it uses block requests
rathe bios for crypto operations. block requests when unpacked
carries data upto 512KB. Hence, HW based crypto engine can be used
more efficiently.

Also move create disk encryption key before framework start as
HW based disk encryption creates key in secure side. Key creation
can take sometime to create the key securely. If framework is
started before creating the key, it is possible that framework
requests service from secure side. Secure side can serve mostly one
request at a time. Secure side may reject framework request if key
creation request is still going on. This may cause problem in the
system

b/17475056 Enable hardware crypto for userdata encryption

Change-Id: I5480ab72a37c02532218a18faaba598a824589fd
Signed-off-by: Iliyan Malchev <malchev@google.com>
2014-11-21 08:17:32 +00:00
tests Change ASCII conversion for hash and add tests 2010-06-20 22:03:10 -07:00
Android.mk Adding support of dm-req-crypt 2014-11-21 08:17:32 +00:00
Asec.h Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
CheckBattery.cpp Don't worry about battery levels when encrypting 2014-09-10 22:38:38 +00:00
CheckBattery.h On low power turn off rather than rebooting to allow device to charge 2014-06-09 15:15:32 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:05:25 -08:00
CommandListener.cpp Make persistent field in cryptofs support longer values. 2014-10-24 10:56:02 +01:00
CommandListener.h vold: Remove obsolete xwarp support. 2013-09-17 13:21:03 -07:00
cryptfs.c Adding support of dm-req-crypt 2014-11-21 08:17:32 +00:00
cryptfs.h Make persistent field in cryptofs support longer values. 2014-10-24 10:56:02 +01:00
Devmapper.cpp Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
Devmapper.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
DirectVolume.cpp Fix failure erasing SD in Factory reset 2014-07-25 20:30:53 +00:00
DirectVolume.h am 099b20f3: am 1881395b: am c6752b06: Merge "vold: wildcard support for device path matching" 2014-05-27 19:28:07 +00:00
Ext4.cpp Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
Ext4.h Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
Fat.cpp Fat.cpp: Tuned FAT parameters according to SD Association recommendations. 2014-07-15 17:07:55 -07:00
Fat.h vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
fstrim.c fstrim: Use a local definition of the IOCTL FIDTRIM number 2014-08-07 18:44:37 -07:00
fstrim.h fstrim: prep for supporting a deep trim ioctl 2014-07-29 15:39:06 -07:00
hash.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
Loop.cpp ASEC resize tweaking, allow read-write mounting. 2014-08-22 15:39:41 -07:00
Loop.h Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
main.cpp Add support for more expressive SD card permissions 2013-10-08 10:13:04 -07:00
NetlinkHandler.cpp Remove obsolete code for monitoring USB status 2011-06-07 08:34:08 -07:00
NetlinkHandler.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
NetlinkManager.cpp vold: fix potential socket leak 2013-07-02 12:04:09 -07:00
NetlinkManager.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
Process.cpp print information about opened files when failed unmount 2014-09-24 15:46:45 -07:00
Process.h print information about opened files when failed unmount 2014-09-24 15:46:45 -07:00
ResponseCode.cpp vold: Switch from LOG -> SLOG 2010-03-25 08:02:28 -07:00
ResponseCode.h Support default, pattern, pin and password encryption types 2014-02-12 14:54:40 -08:00
vdc.c am ea256025: am 45faade2: Merge "Replaces uses of index() with strchr()." 2014-06-05 20:33:07 +00:00
VoldCommand.cpp system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
VoldCommand.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
VoldUtil.c vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
VoldUtil.h vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
Volume.cpp vold: suppress unused argument warning messages 2014-02-12 14:27:51 -08:00
Volume.h Extract UUID and label from inserted volumes. 2013-10-17 09:51:19 -07:00
VolumeManager.cpp Correctly remove asecs for full disk encryption 2014-09-02 18:25:26 +00:00
VolumeManager.h ASEC resize tweaking, allow read-write mounting. 2014-08-22 15:39:41 -07:00