OSDN Git Service

Change key derivation to scrypt
authorKenny Root <kroot@google.com>
Fri, 14 Jun 2013 19:11:38 +0000 (12:11 -0700)
committerKenny Root <kroot@google.com>
Mon, 24 Jun 2013 16:40:54 +0000 (09:40 -0700)
commitc4c70f15bb8845b02f9ec1d624794757badd6933
treeb3efc6b9d153b8f3db853da81999fe5b6608f8dc
parentc96a5f8edf65a8abe441d0cfd3ce227bdf1bf55f
Change key derivation to scrypt

scrypt is a sequential memory-hard key derivation algorithm that makes
it more difficult for adversaries to brute force passwords using
specialized equipment. See http://www.tarsnap.com/scrypt/scrypt.pdf for
more details of the algorithm.

This adds support for initializing disk encryption using scrypt and
upgrading from the previous PBKDF2 algorithm.

Change-Id: I1d26db4eb9d27fea7310be3e49c8e6219e6d2c3b
Android.mk
cryptfs.c
cryptfs.h