commit | ebfdba67d23044ce9f65744425790b4ee107fc46 | [log] [tgz] |
---|---|---|
author | Garret Kelly <gdk@google.com> | Wed Apr 24 17:38:40 2019 -0400 |
committer | Garret Kelly <gdk@google.com> | Wed Apr 24 17:39:57 2019 -0400 |
tree | eaac323e9b8b0642b5f80116f0cb75efb246da1d | |
parent | 34e718703d37d19ef377d5eeb06e75d5d05b6762 [diff] |
Fix comparison between hex and binary values The verified boot hash in the attestation record is a binary blob, while the property read from the system is a hex-encoded value. Convert the boot hash from the attestation record into hex before comparing. Test: VtsHalKeymasterV4_0TargetTest Bug: 130843899 Change-Id: I6f6e0da71501d741dd8b27d0778e1854af17ace6