GoogleGit

commite41ab111bb3c5374b4900895e03c0df6b71de725[log][tgz]
authorJP Abgrall <jpa@google.com>Fri Nov 15 13:42:56 2013 -0800
committerThe Android Automerger <android-build@google.com>Fri Nov 15 17:27:58 2013 -0800
treef38608fac2feedd66191bb6adccce9dd6ec86f78
parentc5f17b00451ac3182a84552cbf21fe5326b0ab21[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
1 file changed
tree: f38608fac2feedd66191bb6adccce9dd6ec86f78
  1. Android.mk
  2. Asec.h
  3. CleanSpec.mk
  4. CommandListener.cpp
  5. CommandListener.h
  6. Devmapper.cpp
  7. Devmapper.h
  8. DirectVolume.cpp
  9. DirectVolume.h
  10. Ext4.cpp
  11. Ext4.h
  12. Fat.cpp
  13. Fat.h
  14. Loop.cpp
  15. Loop.h
  16. NetlinkHandler.cpp
  17. NetlinkHandler.h
  18. NetlinkManager.cpp
  19. NetlinkManager.h
  20. Process.cpp
  21. Process.h
  22. ResponseCode.cpp
  23. ResponseCode.h
  24. VoldCommand.cpp
  25. VoldCommand.h
  26. VoldUtil.c
  27. VoldUtil.h
  28. Volume.cpp
  29. Volume.h
  30. VolumeManager.cpp
  31. VolumeManager.h
  32. Xwarp.cpp
  33. Xwarp.h
  34. cryptfs.c
  35. cryptfs.h
  36. fstrim.c
  37. fstrim.h
  38. hash.h
  39. main.cpp
  40. tests/
  41. vdc.c