commit | 7bdfa52d934465e2182e2f1c200c4d8581ad5da6 | [log] [tgz] |
---|---|---|
author | JP Abgrall <jpa@google.com> | Fri Nov 15 13:42:56 2013 -0800 |
committer | JP Abgrall <jpa@google.com> | Fri Nov 15 13:42:56 2013 -0800 |
tree | 222f836136d04c6f9970c09e550cc4e61c822994 | |
parent | 6bcd362edd1f0ad97807276ff7f9f16991df99a4 [diff] |
vold: cryptfs: Don't update KDF without validating pwd/key. Prior to this, the Key derivation function would get blindly updated even if the user entered the wrong password. Now, we only attempt to upgrade the KDF if the pwd/key have been verified (i.e. after a successful mount). Bug: 11460197 Change-Id: I0469228cc9b87c47754e8ca3c7146651da177da5