commit | fc0b519374a67fec920def116bc7288116856b24 | [log] [tgz] |
---|---|---|
author | Paul Crowley <paulcrowley@google.com> | Mon Jul 02 13:58:10 2018 -0700 |
committer | Paul Crowley <paulcrowley@google.com> | Tue Aug 07 10:22:17 2018 -0700 |
tree | 3226d701d5baf3cb616034ae68fbcf25e9b1040a | |
parent | e80b45506501815061b079dcb10bf87443bd385d [diff] |
Use fdeCheckPassword error code to indicate pw failure Plumb through the error code from cryptfs_check_password to decryptStorage that was lost in the switch to Binder, so that a wrong password (+ve return value) is not treated like a bad state (-ve return value). Bug: 110976442 Test: Switch walleye fstab to FDE, and test wrong password by hand Change-Id: Ic2d58483a230ab4520e3a0e6af08d2fac5e8156f