summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorGarret Kelly <gdk@google.com>2019-04-24 17:38:40 -0400
committerGarret Kelly <gdk@google.com>2019-04-24 17:39:57 -0400
commitebfdba67d23044ce9f65744425790b4ee107fc46 (patch)
treeeaac323e9b8b0642b5f80116f0cb75efb246da1d /identity/support/src/cppbor_parse.cpp
parent34e718703d37d19ef377d5eeb06e75d5d05b6762 (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
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions