commit | 45a20c9a66edc1dfe81173fef0ee91fffc5c741f | [log] [tgz] |
---|---|---|
author | Seth Moore <sethmo@google.com> | Wed May 17 15:16:53 2023 -0700 |
committer | Seth Moore <sethmo@google.com> | Fri Jun 23 17:28:00 2023 -0700 |
tree | c39bd6814c2b2fa15207fe5a1339dbff704f06c9 | |
parent | 93985a36b1b1a17165c0b6a6c59c1a8298a13b33 [diff] |
Add DeviceInfo structure and parsing helper This is the first part of CSR parsing. The parser accepts ciborium Value types, as parsed from raw CBOR. Extend FieldValue with support for u32. Also add `set_once` to make duplicate checking simpler. Bug: 280620556 Test: libhwtrust_tests Change-Id: Iccaa788ae75d978316d67c6d80d33be2da79606b