commit | cfd289cf036783de7346837540912b32728e7c30 | [log] [tgz] |
---|---|---|
author | Chad Brubaker <cbrubaker@google.com> | Thu Jun 04 11:35:50 2015 -0700 |
committer | Shawn Willden <swillden@google.com> | Thu Jul 09 11:05:22 2015 -0600 |
tree | f0843407ed33bbfe7482685d2329a0fdd26c8fa6 | |
parent | 31eaa48123bd3bf0a5603ab908cfe9987c2c5ea9 [diff] |
Use wrapped keymaster0 device's value of KEYMASTER_SOFTWARE_ONLY SoftKeymasterDevice always sets KEYMASTER_SOFTWARE_ONLY but this isn't true when wrapping a keymaster0 hardware device. This breaks CTS. Note this with how the wrapper is implemented _some_ keys from the wrapped adapter will be software backed and there is no way to tell in keychain where it'll land. Cherry-picked from internal. Bug: 21635583 Change-Id: Ic2e38d4ffe12536eea37e688aaf17c2516f3194b