commit | 1850b4776580cdb42e176e8ca1eaf58a44cba02a | [log] [tgz] |
---|---|---|
author | Hasini Gunasinghe <hasinitg@google.com> | Mon Aug 02 17:39:24 2021 +0000 |
committer | Hasini Gunasinghe <hasinitg@google.com> | Wed Aug 04 18:28:54 2021 +0000 |
tree | 070f09c9585a3cdef311887dd1844df11603c8a4 | |
parent | 6204ec2cb5b9dba9ed28e383a4242ec2ed487de7 [diff] |
Fix KeyAttestation tests on unlocked devices. This CL changes TrustyKeymasterContext::SetBootParams such that the VB key is loaded regardless of the VB state. Otherwise the test fails on unlocked devices. This fix is originally authored by swillden@google.com. Test: atest CtsKeystoreTestCases Bug: 192634248 Change-Id: I9fa8a98edb5714e2077fe777911fd0170cd3329d