OSDN Git Service

DO NOT MERGE Securely encrypt the master key
authorPaul Lawrence <paullawrence@google.com>
Tue, 28 Apr 2015 22:14:15 +0000 (22:14 +0000)
committerPaul Lawrence <paullawrence@google.com>
Fri, 29 May 2015 17:25:54 +0000 (17:25 +0000)
commit731a7a242df6cc3441ac82b4f9521546fac5ac2d
tree316654e8073f1a491fec7801d0f1c1cf7ddf21d2
parent65427f1a805ed2b8ee65a30ecf6ea8b14fe1e02b
DO NOT MERGE Securely encrypt the master key

(cherry-picked from commit 707fd6c7cccc31c0ab0ec1a6ac8b6077c632fc35)

Move all key management into vold
Reuse vold's existing key management through the crypto footer
to manage the device wide keys.

Use ro.crypto.type flag to determine crypto type, which prevents
any issues when running in block encrypted mode, as well as speeding
up boot in block or no encryption.

This is one of four changes to enable this functionality:
  https://android-review.googlesource.com/#/c/148586/
  https://android-review.googlesource.com/#/c/148604/
  https://android-review.googlesource.com/#/c/148606/
  https://android-review.googlesource.com/#/c/148607/

Bug: 18151196

Change-Id: I3c68691717a61b5e1df76423ca0c02baff0dab98
Android.mk
CommandListener.cpp
Ext4Crypt.cpp [new file with mode: 0644]
Ext4Crypt.h [new file with mode: 0644]
cryptfs.c
cryptfs.h